Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Gatsby + ButterCMS starter boilerplate with blog, pages, and content collection integration.
Gatsby Starter ButterCMS is a starter template (boilerplate) that pairs the Gatsby static site framework with the ButterCMS headless CMS, giving developers a pre-configured Gatsby site that pulls content from ButterCMS.
Gatsby Starter ButterCMS is a boilerplate project created by ButterCMS that wires a Gatsby site to a ButterCMS backend. It takes your ButterCMS API token and content configuration as input and produces a static Gatsby site with pages and blog content pulled from the CMS. The template runs on the Gatsby framework (Node.js) and is distributed as a public GitHub repository. It is an example use case, not a product, and the README states it will not be actively maintained; ButterCMS directs users to its official starters for currently maintained integrations.
The setup flow is: 1) create a new Gatsby site with the npx gatsby new command using this repository; 2) add your ButterCMS API token and specify content fields, page types, and locales in the gatsby-config.js file; 3) run gatsby develop to start a local server at localhost:8000 and query content via GraphiQL. The plugin fetches ButterCMS content at build time and exposes it to Gatsby's GraphQL layer for page queries.
No. The README states this project was created as an example use case and will not be actively maintained. ButterCMS recommends using its official Gatsby starter from the starters page, which is fully integrated with dynamic sample content.
Yes. The template requires a ButterCMS API token from your dashboard. Sample content is created automatically when you sign up for a free trial.
You need to set the authToken, and optionally specify contentFields keys (for collections), pageTypes keys (for pages), locales, and a preview flag. The plugin options are documented in the starter README.
Use the deploy button in the README, which points to the repository and triggers a Netlify import. For Gatsby Cloud, set the BUTTER_CMS_TOKEN environment variable to your Read API Token.