khoj/docs/notion_integration.md
sabaimran 1610d2ebd9
📝 Add a documentation base for Khoj! (#333)
* Add docs for more organized, accessible information detailing Khoj setup
* Delete duplicated files
* Add a coverpage without enabling it. Add logo and theme
* Remove obsidian README.md
* Add plausible script to index.html via docsify
2023-07-20 22:34:25 -07:00

1.1 KiB

📜 Notion Integration

Khoj now supports search/chat with pages in your Notion workspaces. Notion is a platform people use for taking notes, especially for collaboration.

We haven't setup a fancy integration with OAuth yet, so this integration still requires some effort on your end to generate an API key.

  1. Go to https://www.notion.so/my-integrations and create a new integration called Khoj to get an API key. setup_new_integration
  2. Share all the workspaces that you want to integrate with the Khoj integration you just made in the previous step enable_workspace
  3. In the first step, you generated an API key. Use the newly generated API Key in your Khoj settings, by default at http://localhost:8000/config/content_type/notion. Click Save.
  4. Click Configure in http://localhost:8000/config to index your Notion workspace(s).

That's it! You should be ready to start searching and chatting. Make sure you've configured your OpenAI API Key for chat.