A Gatsby source plugin that loads data from Notion databases into Gatsby's GraphQL layer. Version 0.6.9 is the latest stable release; the project has low release cadence (last update in 2021). It supports multiple database sources, optional caching (static vs dynamic), and automatically resolves relation properties. Compared to alternatives like gatsby-source-notion, this plugin offers a simpler configuration and direct table URL input, but has not been actively maintained and may lack support for newer Notion API changes.
npm install gatsby-source-notion-databaseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configure the plugin with a Notion database table URL, then query the data in a Gatsby page using GraphQL.
Migrate to a plugin that supports Notion API v2 or use official Notion SDK.
Remove cacheType from sourceConfig or leave as static.
Ensure the table URL includes the '?v=...' query parameter from Notion.
Source all related databases in the sourceConfig array.
Set the environment variable NOTION_TOKEN with a valid integration token.
Provide sourceConfig as an array of objects in gatsby-config.js.
Ensure the name option (e.g., 'books') matches the GraphQL query prefix (allBooks).