Headless CMS
Table of contents
Headless CMS
Find out more about Headless CMS
Contentful CMS
Using Contentful
Install gatsby contentful
Connect contentful and gatsby
- Log in contentful > Setting > API key
- Create API key, see
space IDandContent 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
- Learn about environment variables
- Install
dotENVextension