Add Notion as a context provider to give your agent access to documentation, wikis, and knowledge bases stored in Notion.Documentation Index
Fetch the complete documentation index at: https://docs.getnao.io/llms.txt
Use this file to discover all available pages before exploring further.
Why Add Notion?
Syncing Notion pages allows your agent to:- Answer questions using your teamβs documentation
- Reference business definitions and glossaries
- Use onboarding docs, runbooks, and process guides as context
Adding Notion
During initialization When you runnao init, you can add Notion interactively:
nao_config.yaml:
api_keyβ Your Notion integration API key. Use{{ env('NOTION_API_KEY') }}to reference an environment variable.pagesβ List of Notion page IDs to sync. You can find a page ID in the page URL:https://notion.so/workspace/Page-ID-here.
What Happens at nao sync
When you runnao sync, nao:
- Connects to Notion using your API key
- Fetches each configured page and its content
- Exports pages as markdown files
- Writes them under
docs/notion/in your nao project
Context Configuration
Initialize and configure your nao project
Synchronization
Learn how to sync and update your agentβs context