2024-01-07 20:28:15 +05:30
# Notion Integration
2023-07-20 22:34:25 -07:00
2024-01-07 20:28:15 +05:30
The Notion integration allows you to search/chat with your Notion workspaces. [Notion ](https://notion.so/ ) is a platform people use for taking notes, especially for collaboration.
2023-07-20 22:34:25 -07:00
2024-07-17 12:59:06 +05:30
Go to https://app.khoj.dev/settings to connect your Notion workspace(s) to Khoj.
2024-04-05 15:41:43 +05:30
2024-05-25 01:08:20 +05:30
![notion_integration ](https://assets.khoj.dev/notion_integration.gif )
2024-04-05 15:31:43 +05:30
## Self-Hosted Setup
2023-07-20 22:34:25 -07:00
1. Go to https://www.notion.so/my-integrations and create a new integration called Khoj to get an API key.
![setup_new_integration ](https://github.com/khoj-ai/khoj/assets/65192171/b056e057-d4dc-47dc-aad3-57b59a22c68b )
3. Share all the workspaces that you want to integrate with the Khoj integration you just made in the previous step
![enable_workspace ](https://github.com/khoj-ai/khoj/assets/65192171/98290303-b5b8-4cb0-b32c-f68c6923a3d0 )
2024-08-05 01:00:56 +05:30
4. In the first step, you generated an API key. Use the newly generated API Key in your Khoj settings, by default at [http://localhost:42110/settings#notion ](http://localhost:42110/settings#notion ). Click `Save` .
2024-07-17 12:59:06 +05:30
5. Click `Configure` in http://localhost:42110/settings to index your Notion workspace(s).
2023-07-20 22:34:25 -07:00
2024-04-05 15:31:43 +05:30
That's it! You should be ready to start searching and chatting. Make sure you've configured your [chat settings ](/get-started/setup#2-configure ).