Overview
What Gets Indexed
| Source | Content |
|---|---|
| Databases | Database title, description, and property schema definitions |
| Database Entries | Page content, properties (title, select, date, etc.), and nested blocks |
| Standalone Pages | Full page content including all nested blocks |
| Block Types | Paragraphs, headings, lists, code blocks, tables, toggles, bookmarks, equations, callouts, and more |
How It Works
- You create a Notion internal integration and share content with it
- The connector syncs all shared databases and pages via the Notion API
- Page content is rendered from blocks — nested children are fully traversed and included
- Incremental sync fetches only pages modified since the last sync
The connector uses read-only access. Omni cannot modify any content in your Notion workspace.
Prerequisites
Before setting up the Notion connector, ensure you have:- Notion account with permission to create integrations
- Omni deployment with the Notion connector service running
Setup
Step 1: Create a Notion Internal Integration
- Go to My Integrations
- Click New integration
- Select the workspace you want to connect
- Give the integration a name (e.g., “Omni Search”)
- Under Capabilities, ensure these are selected:
- Read content
- Read user information (without email addresses)
- Click Save
- Copy the Internal Integration Secret (starts with
ntn_)
Step 2: Share Content with the Integration
Notion integrations can only access pages and databases that have been explicitly shared with them. This is a critical step. To share a page or database:- Open the page or database in Notion
- Click the … menu in the top-right corner
- Scroll to Connections and click Connect to
- Find and select your integration (e.g., “Omni Search”)
Step 3: Connect in Omni
- Navigate to Settings → Integrations in Omni
- Find Notion and click Connect
- Enter your Internal Integration Secret
- Click Connect
- Click Sync Now to start the initial sync
Your Notion connector is now configured. Initial indexing may take a while depending on the amount of content in your workspace.
Managing the Integration
Viewing Sync Status
Navigate to Settings → Integrations → Notion to view:- Last sync time
- Number of indexed pages and databases
- Any sync errors
Sync Modes
The Notion connector supports two sync modes:| Mode | Description |
|---|---|
| Full | Syncs all shared databases and pages (used for initial sync) |
| Incremental | Syncs only pages modified since the last sync (used for updates) |
Adding More Content
To index additional pages or databases:- Share the new content with your integration in Notion (see Step 2)
- The next sync will automatically include the newly shared content
Removing the Integration
- Navigate to Settings → Integrations → Notion
- Toggle the Enabled switch off
Troubleshooting
Pages not appearing in search
Pages not appearing in search
The most common cause is that the page or its parent has not been shared with the integration.Solution:
- Open the page in Notion
- Click … → Connections
- Verify your integration is listed
- If not, add the connection and trigger a new sync
Token validation failed
Token validation failed
The integration secret may be expired or revoked.Solution:
- Go to My Integrations
- Select your integration and regenerate the secret
- Update the token in Omni via Settings → Integrations → Notion
Rate limiting errors
Rate limiting errors
Notion has API rate limits. The connector handles these automatically with exponential backoff.Solution: Wait for the connector to retry. For large workspaces, initial sync may take longer due to rate limits.
Database entries missing
Database entries missing
Database entries are only indexed if the parent database is shared with the integration.Solution: Ensure the database itself (not just individual entries) is shared with the integration via Connections.
Security Considerations
- Read-only access: The connector only reads page and database content
- Token security: Integration secrets should be treated like passwords
- Encrypted storage: Credentials are encrypted at rest in Omni
- Explicit sharing: Only content explicitly shared with the integration is accessible — the connector cannot access your entire workspace by default
What’s Next
Search Your Data
Learn how to search across Notion pages
AI Assistant
Ask questions about your Notion content
Add More Connectors
Connect additional data sources