See what's launched

The next gen Gatsby is here Performance, developer velocity, and scaling to meet Enterprise needs - See what’s launched

Sign 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.