These are the docs for v2, which has an open maintenance window until April 1, 2021. View the v3 docs.

  • Gatsbyjs.com
    Gatsbyjs.com
  • Gatsby Cloud
    Gatsby Cloud
  • Support
    Support
  • Contact
    Contact
  • Log in
    Log in
docs
    • Tutorial
      Tutorial
    • How-to Guides
      How-to Guides
    • Reference
      Reference
    • Conceptual Guide
      Conceptual Guide
    • Quick Start
      Quick Start
    • v2

      • v3

        v3

      • v2

        v2

      • v1

        v1

DocumentationHow-to GuidesSourcing Data Into Gatsby
Docs

Sourcing from Databases

The Gatsby ecosystem includes built-in connectors to several database systems. These include:

  • PostgreSQL
  • MySQL
  • Cassandra
  • Amazon Redshift, SQLite3, Oracle and MSSQL
  • MongoDB
  • Firebase/Firestore

These plugins will ingest data from your DB and make it available for your page components to query.

Edit this page on GitHub
  • Accessibility Statement
  • Code of Conduct
  • Logo & Assets
  • Privacy Policy
  Docs
  • How-to Guides
    • Overview
    • Overview
    • How to source data from the filesystem
    • Sourcing Data from Contentful
    • Sourcing Data from Wordpress
    • Sourcing Data from Drupal
    • Sourcing Data from Other CMSs
    • How to source data from a database
    • How to source data from hosted services
    • Additional Guides 4