Prerequisites
- Start by setting up a new internal integration in Notion: https://www.notion.so/profile/integrations
- Export your new Notion key:
export NOTION_API_KEY=ntn_**** - Connect your relevant Notion pages to the integration. To do this, you’ll need to visit that page, and click on the 3 dots, and select “Connect to integration”.
- Install dependencies:
uv pip install agno mcp openai