๐Ÿ’ปBlog CMS - Notion

Notion as a Headless Blog CMS

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 Notion.

Get Your API Key

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


Notion Database ID

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


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


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.

Last updated