# Connect Notion

Approve page or database roots for shared discovery and live source reads.

Canonical page: https://ontlgy.io/docs/sources/notion/

One internal Notion integration can coexist with one Confluence site. An administrator explicitly approves page or database roots and their future descendants for the installation's shared audience.

:::caution[Verification status]
Notion onboarding, synchronization and agent retrieval are implemented. Real page-read checks and synthetic API tests exist; live database/unavailable-page checks and the final release acceptance remain open. Validate these cases against your intended workspace before relying on them.
:::

## Connect and approve roots

1. In Notion, create a dedicated internal integration with **Read content** capability.
2. Share the intended root and its parent hierarchy with the integration using Notion's **Connections** menu. Readable ancestors let ontlgy reject overlapping roots.
3. In ontlgy, open **Documents → Notion**, enter the secret and select **Verify and connect**.
4. Under **Add a root**, paste a Notion URL or UUID, choose **Page** or **Database**, and explicitly approve the shared audience.
5. Select **Verify and index root**. Watch indexed, incomplete and failed counts and the last complete sync. Use **Sync now** when needed.
6. Try **Search documents** or [find/get/read through your agent](https://ontlgy.io/docs/guides/team-documents/).

There is no workspace-wide picker or completeness guarantee. Access available to the integration does not prove that every ontlgy user has individual permission in Notion.

## Know the boundaries

- Polling has a five-minute minimum interval, not a five-minute freshness guarantee. Traversals have request, byte and deadline limits.
- Large roots can stay incomplete; split them into smaller suitable roots. Incomplete traversal is not treated as proof that unseen pages were deleted.
- Stored search eligibility expires after 24 hours without successful validation. Revocations may remain discoverable until validation or expiry. Live reads and enrichment fetches recheck access and membership.
- Bodies and raw API responses remain transient. Indexed data includes bounded facts, outlines, stubs, hashes, omission flags and pointers.
- Media downloads, comments, duplicate synced-block expansion, linked database views and arbitrary database-property indexing are excluded. Mentions/link titles are redacted in this release.

## Maintain the source

A rejected source credential requires reconnection. A confirmed missing or out-of-scope page is removed. Root removal fences new publication immediately; cleanup can continue in the worker. Keep it running until cleanup finishes.

Upgrade the app and worker together. Older binaries must not write after the document-source schema upgrade. See [Maintenance](https://ontlgy.io/docs/operate/maintenance/).
