notion.mdx 570 B

123456789101112131415
  1. ---
  2. title: 'Notion'
  3. ---
  4. ### Notion
  5. To use notion you must install the extra dependencies with `pip install --upgrade embedchain[notion]`.
  6. To load a notion page, use the data_type as `notion`. Since it is hard to automatically detect, forcing this is advised.
  7. The next argument must **end** with the `notion page id`. The id is a 32-character string. Eg:
  8. ```python
  9. app.add("cfbc134ca6464fc980d0391613959196", "notion")
  10. app.add("my-page-cfbc134ca6464fc980d0391613959196", "notion")
  11. app.add("https://www.notion.so/my-page-cfbc134ca6464fc980d0391613959196", "notion")
  12. ```