Link Search Menu Expand Document

Headless CMS

Table of contents

Headless CMS

Find out more about Headless CMS

Contentful CMS

Using Contentful

Install gatsby contentful

Install guide here

Connect contentful and gatsby

  • Log in contentful > Setting > API key
  • Create API key, see space ID and Content Delivery API - access token
  • Add to the gatsby-config.js

  • Sample:
      module.exports = {
      plugins: [
          resolve: `gatsby-source-contentful`,
          options: {
              spaceId: `pr********5`,
              accessToken: `M********************M`,

ENV variable