Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

Gatsby Theme Contentful Gallery

Getting Started

Create a new Contentful Space


Run the setup scripts

yarn global add contentful-management
contentful space import --space-id SPACE_ID --mt MANAGEMENT_TOKEN --content-file scripts/contentful-export.json

Add the plugin to your gatsby-config

yarn add gatsby-theme-contentful-gallery
  plugins: [
      resolve: "gatsby-theme-contentful-gallery",
      options: {
        contentfulSpaceId: YOU_SPACE_ID,
        contentfulAccessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
© 2023 Gatsby, Inc.