Skip to content

Bynder/gathercontent-gatsby-source-gathercontent

Repository files navigation

'GatherContent & Gatsby'

gatsby-source-gathercontent

Source plugin for pulling content into Gatsby from GatherContent.

Install

npm install gatsby-source-gathercontent 

Configuration

We recommend using environment variables for your GatherContent configuration. You can learn more about using environment variables with Gatsby here.

// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: 'gatsby-source-gathercontent',
      options: {
        email: process.env.GATSBY_GC_EMAIL,
        apiKey: process.env.GATSBY_GC_API_KEY, // https://docs.gathercontent.com/reference#authentication 🔑
        projectId: process.env.GATSBY_GC_PROJECT_ID,
      }
    }
  ]
}

Learn more

About

Source plugin for pulling content into Gatsby from GatherContent.

Resources

Stars

Watchers

Forks