New Launch

Take a deep dive into the fastest Gatsby, yet: Gatsby 5!

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.