Sync Notion with Your AI Knowledge Base
Notion holds your team's docs, wikis, and databases. REM Labs makes all of it searchable by AI -- semantically, not just by keyword. This guide walks through connecting Notion to REM Labs so every page, database row, and wiki entry becomes persistent, queryable AI memory.
What Gets Synced
The Notion integration pulls structured data from your workspace and stores it as indexed memories. It extracts:
- Pages and sub-pages -- full rich-text content, including headings, lists, and toggles, converted to clean markdown
- Database rows -- each row becomes a memory with its properties preserved as structured metadata (status, assignee, dates, tags)
- Inline relations -- Notion relation properties are stored as knowledge graph edges, connecting related pages
- Comments and discussions -- page-level comments are captured as context metadata
- Page hierarchy -- parent/child page structure is preserved for contextual retrieval
Connect via OAuth
The fastest way to connect is through the REM Labs Console. Go to remlabs.ai/console, navigate to Integrations, and click Connect Notion. You will be redirected to Notion's OAuth flow to authorize access to specific pages or your entire workspace.
Once authorized, the initial sync begins automatically. Pages are batched in groups of 100 and processed in parallel. A workspace with 500 pages typically completes in under 60 seconds.
Import via API
For programmatic control, use the Notion import endpoint directly. This is useful for CI pipelines, selective syncs, or custom preprocessing.
Database Sync
Notion databases are particularly powerful with REM Labs. Each row becomes a memory with its properties stored as typed metadata -- meaning you can later filter by status, date range, assignee, or any custom property during retrieval.
The incremental sync mode uses Notion's last_edited_time to detect changes, so only modified rows are re-indexed. This keeps repeated syncs fast and avoids unnecessary API quota usage.
Search Your Notion Content
Once synced, your Notion workspace is searchable through multi-signal fusion retrieval. The query "what did we decide about the pricing model" will surface meeting notes, product docs, and database entries that discuss pricing -- even if the word "pricing" never appears in those pages.
API Endpoints Reference
| Endpoint | Method | Description |
|---|---|---|
/v1/memory/sync/notion/import | POST | Import pages from Notion (up to 100 per request) |
/v1/memory/sync/notion/database | POST | Sync an entire Notion database |
/v1/integrations/notion/status | GET | Check sync status and last sync timestamp |
/v1/integrations/notion/search | POST | Search within the Notion namespace |
Incremental sync: After the initial import, only pages modified since the last sync are re-processed. The integration uses Notion's last_edited_time field to detect changes. Full docs at Notion integration docs.
Make your Notion workspace AI-searchable
Free tier. Semantic search across all your pages and databases.
Get started free →