Skip to main content

Notion Connector

Connect to Notion to index pages, databases, and workspace content.

Overview

The Notion connector allows you to:

  • Index pages and databases
  • Traverse nested page structures
  • Sync database properties
  • Support multiple workspaces

Prerequisites

  • Notion account
  • Workspace access
  • OAuth authorization

Authentication

OAuth 2.0

  1. Click Connect with Notion
  2. Select workspace
  3. Choose pages to share
  4. Authorize access

Page Selection

During OAuth, select which pages ZenSearch can access:

  • Select individual pages
  • Select entire databases
  • Access flows down to child pages

Configuration

SettingDescription
WorkspaceConnected workspace
Root PagesStarting pages for sync
Include DatabasesSync database entries
Traverse DepthHow deep to follow links

Setup Steps

  1. Add Connector: Knowledge → Add Data Source → Notion
  2. Authorize: Connect with Notion OAuth
  3. Select Pages: Choose root pages/databases
  4. Configure Depth: Set traversal options
  5. Test & Create: Verify and save

Content Indexed

ContentIncluded
PagesYes
DatabasesYes
Database itemsYes
Nested pagesYes
Block contentYes
CommentsOptional

Database Handling

Notion databases are indexed as:

  • Database structure (schema)
  • Individual entries as documents
  • Properties as metadata

Nested Page Traversal

ZenSearch follows page links:

Root Page
├── Child Page 1
│ └── Grandchild Page
├── Child Page 2
└── Linked Database

Best Practices

  1. Share root workspace pages for broad access
  2. Use specific pages for focused indexing
  3. Include databases for structured data
  4. Set appropriate traversal depth

Troubleshooting

No pages found: Ensure pages were shared during OAuth

Missing content: Check page sharing settings in Notion

Incomplete databases: Verify database was selected during auth