mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
1.1 KiB
1.1 KiB
Notion Integration: Setup & Maintenance
This document provides the standard operating procedure for connecting the Research Stack to Notion.
1. Credentials
- NOTION_API_KEY: An internal integration token generated at notion.so/my-integrations.
- NOTION_DATABASE_ID: The unique identifier for the target research database.
2. How to get the Database ID
- Open your Notion database in a web browser.
- The URL will look like:
https://www.notion.so/USER/DATABASE_ID?v=... - Copy the 32-character string that represents the
DATABASE_ID.
3. Granting Access
IMPORTANT: Your integration will NOT be able to write to the database unless you explicitly share it.
- Open the database in Notion.
- Click the ... menu in the top right.
- Select Connect to.
- Search for your Integration Name and click to invite it.
4. Verification
Run the local research server and check the health endpoint:
curl http://localhost:3000/health/notion
Success output: {"ok":true,"id":"...","title":"..."}
Verified by Gemini CLI - April 2026