Please refer to the plugin documentation to see how to configure it:
https://docs.zeroqode.com/plugins/notion-renderer
This plugin allows you to render both 📢 public and 🔑 private notion pages. Rendering a notion page is a two step process that is slightly different depending on if it is a public or private page.
📢 How to render a public page
To render a public page, you first need to run a server action that returns JSON. You can store this JSON in the database or in a state, depending on your use case. This JSON then gets passed into the Notion Renderer element.
1️⃣ Run the 'Render Public Page' server action with a notion page ID as the input. You can find a notion page id at the end of any notion URL.
2️⃣ Store the result of this server action somewhere, in a state or in your database.
3️⃣ On the page where you want to render the notion content, place a 'Notion Renderer' element. Pass in the JSON that you stored in step 2.
🟢 Supported blocks for public pages
Page
Text
Bookmark
Bulleted List
Numbered List
Heading 1
Heading 2
Heading 3
Quote
Callout
Todos
Table Of Contents
Divider
Column
Column List
Toggle
Image
Embed
Video
Figma
Google Maps
Google Drive
Tweet
PDF
Audio
File
Link
Page Link
External Page Link
Collections
Collection View
Collection View Table
Collection View Gallery
Collection View Board
Collection View List
🔑 How to render a private page
1️⃣ Run the 'Render Private Page' server action with a notion page ID as the input. You can find a notion page id at the end of any notion URL. Additionally, pass in a valid notion token to authenticate with the official notion API. You can get a generate a token with your notion account for a given workspace. Using this, you'll be able to access private notion pages to protect your content.
2️⃣ Store the result of this server action somewhere, in a state or in your database.
3️⃣ On the page where you want to render the notion content, place a 'Notion Renderer' element. Pass in the JSON that you stored in step 2.
⚠️ Because the notion API is still an early version, the 'Render Public Page' is much more limited than the public one. Basically, the API doesn't support all of the blocks notion has yet. Here is a summary of the known issues.
🔴 Summary of known issues with private pages
image, video, and embed blocks are missing format for proper sizing and layout
image, video, and embed blocks are missing caption
embed blocks don't contain enough info for proper embedding
alias blocks fail for links pointing to other workspaces
rich text mentions fail for links to pages and databases in other workspaces
format toggleable is missing
🟢 Supported blocks for private pages
Text
Heading 1
Heading 2
Heading 3
Bulleted List
Numbered List
Quote
Todos
Toggle
Callout
File
Divider
Table Of Contents
Column List
Column
Audio
Tweet