Webinar

“Digging into Gatsby 5’s Slice API” Register now

ContactSign Up for Free
Community Plugin
View plugin on GitHub

Gatsby Source Astra

Pull data directly from your Astra database into Gatsby.

Install

npm install --save gatsby-source-astra

In gatsby-node.js:

module.exports = {
  plugins: [
    {
      resolve: 'gatsby-source-astra',
      options: {
        dbId: '69369555-16d9-429f-a350-3614c0b4b555',
        dbUsername: 'test',
        dbPassword: 'test',
        dbRegion: 'us-east1',
        dbNamespace: 'test',
        dbCollection: 'test',
      },
    }
  ]
};
© 2022 Gatsby, Inc.