Notion Integration Guide
Learn how to integrate Notion with your SuperFast application to sync documents and databases.
Notion Integration
SuperFast provides seamless integration with Notion, allowing you to sync documents, databases, and more.
Setting Up Notion Integration
Follow these steps to set up Notion integration in your SuperFast application.
1. Create a Notion Integration
First, you need to create a Notion integration to get your API credentials:
- Go to the Notion Integrations page
- Click + New integration
- Give your integration a name (e.g., "SuperFast")
- Select the workspace where you want to use the integration
- Choose the capabilities you need (Read content, Update content, etc.)
- Click Submit to create the integration
- Copy the Internal Integration Token
Important
Add these environment variables to your .env
file:
.env
# Notion IntegrationNOTION_API_KEY=your-integration-tokenNOTION_DATABASE_ID=your-database-id
2. Share Your Notion Pages
To allow your integration to access Notion pages:
- Open the Notion page you want to share
- Click the ••• menu in the top right
- Click Add connections
- Select your integration from the list
- Click Confirm
3. Get Your Database ID
To get your Notion database ID:
- Open your Notion database in the browser
- Look at the URL, it will look like:
https://www.notion.so/workspace/83c75a39...?v=...
- Copy the ID part (the long string of characters before the
?
) - Add this ID to your
.env
file asNOTION_DATABASE_ID
Ready to Go!
Your Notion integration is now set up and ready to use. You can start syncing your Notion content with SuperFast.