PySaaS
  • ๐Ÿ‘‹Introduction
  • ๐ŸšงInstallation and Setup
    • ๐Ÿง Installation
    • ๐Ÿ‘ฏUser Authentication - Firebase
    • ๐Ÿ‘ฏUser Authentication - Supabase
    • ๐Ÿ’ฐSubscriptions - Lemon Squeezy
    • ๐Ÿ’ปBlog CMS - Notion
    • ๐Ÿ“ŠGoogle Analytics
    • ๐ŸงชTesting
  • ๐Ÿš—Deployment
    • Hosting Options
    • Generalized Instructions
  • โ‰๏ธTroubleshooting
    • ๐Ÿ”ฅFirebase Setup
    • Firebase - Setting up Custom Domain for Emails
    • Firebase - Customizing Reset Emails
    • ๐Ÿ‹Lemon Squeezy Setup
    • โ†”๏ธNGROK Setup
    • ๐Ÿ’ปNotion Setup
    • โฌ†๏ธUpdating Project from Pynecone to Reflex
Powered by GitBook
On this page
  • Notion Setup
  • Get Your API Key
  • Notion Database ID
  1. Installation and Setup

Blog CMS - Notion

Notion as a Headless Blog CMS

PreviousSubscriptions - Lemon SqueezyNextGoogle Analytics

Last updated 1 year ago

Notion Setup

Using Notion as a headless CMS for your blog enables a seamless content creation and publishing process, all from a single Notion database.

To set up Notion as a blog CMS, create an account on .

Get Your API Key

Create an integration and retrieve your integration token (API key). Add this value to the .env file:

NOTION_API_KEY=

Notion Database ID

Now, duplicate a copy of the . You should have a URL that looks something like:

The string after the domain is your Notion Database ID. Update that value in .env:

NOTION_DB_ID=

Finally, grant the integration you created access to your Notion database. You can do this by clicking the three dots button on your Notion database page, clicking "Add connections" and "Search for connections". You should see your integration to connect to your database.

๐Ÿšง
๐Ÿ’ป
Notion
here
PySaaS Blog Template
https://www.notion.so/388657f17d6e4b52877e10926ff77cfd