Skip to main content

Overview

The Notion integration allows you to query and index Notion pages and databases. It supports both and .

Authentication

The Notion integration can be set up as a personal connection or as a shared connection.

Personal connection (OAuth)

Each user connects their own Notion account through an OAuth flow, available in Hyperspell as a personal connection without any additional setup. During the OAuth flow, users select which pages in their Notion workspace they want to give access to.

Shared connection

An app admin can instead register a single shared connection using a Notion Access Token. Its data is synced once and made available to everyone in your app — no per-user OAuth required. To create the Access Token:
  1. Go to https://app.notion.com/developers/connections.
  2. Click New connection, enter a name, select Access token as the authentication method, then click Create connection:
Creating a new Notion connection with the Access token authentication method selected
  1. Open the Content access tab and click Add pages & databases to select which pages the connection can access. We recommend selecting your team workspace — all subpages are added automatically:
Notion Content access tab showing the option to add pages and databases
  1. Back in the Configuration tab, copy the Access Token.
Then register the shared connection with the following field:
string
required
Your Notion Access Token.

Search Options

The Notion integration does not support any custom search options.

Resources

The Notion integration returns Document resources: