The project uses Notion as a Headless CMS for the landing page, blog, and documentation. This requires creating an Integration and getting specific Database IDs.
1. Duplicate the Template
Usage of this boilerplate requires a duplication of this Notion template - SaaS CMS Template
2. Create a Notion Integration
- Go to My Integrations.
- Click New integration.
- Name it (e.g., "SaaS Forge CMS").
- Select the workspace where your content will live.
- Capabilities: Ensure "Read content" is enabled.
- Submit and copy the Internal Integration Secret.
- Add it to
.env:
NOTION_API_TOKEN=your_integration_secret
3. Get Database IDs
For each database, copy the ID from the URL.
- URL format:
https://www.notion.so/workspace/DATABASE_ID?v=... - The ID is the 32-character string before the
?.
Add these to your .env:
LANDING_DATABASE_ID=...
HERO_DATABASE_ID=...
FEATURE_DATABASE_ID=...
# ... and so on for all required databases
