Notion CMS
- Clone &
npm install
- Download data and add to Notion. Remember to change layout to board and to set status names.
- Install Netlify CLI:
npm install netlify-cli -g
, also install locally - Link account
netlify link
- Get Shared Integration Token from Notion My Integrations Page
- Get Database ID from Notion page
- Add environment variables in Netlify:
NOTION_DB
&NOTION_KEY
- Start dev
netlify dev
- Remember to update workspace URL
- Review function in
toml
file: Netlify Docs - Confirm
json
is being fetched:http://localhost:8888/.netlify/functions/fetchNotion