Sourcing Data Into Gatsby

A core feature of Gatsby is its ability to load data from anywhere -- CMSs, Markdown, other third-party systems, even spreadsheets. This allows teams to manage their content in nearly any backend they prefer.

 Main Guides 7

How to source data from the filesystem

Pull data stored in markdown, JSON, YAML, and other files. Grab only the data you need without importing a whole file, or query for metadata associated with multiple files.

Sourcing Data from Contentful

Model complex content with the popular headless CMS and smoothly pull it into Gatsby. Supports gatsby-image, content preview, and incremental builds.

Sourcing Data from Wordpress

Sync data from Wordpress and its most popular plugins (ACF, WooCommerce, Yoast, etc). Supports gatsby-image, content preview, and incremental builds.

Sourcing Data from Drupal

Use Gatsby with a "decoupled Drupal" setup. Supports gatsby-image, content preview, and incremental builds.

Sourcing Data from Other CMSs

With integrations with dozens of CMSs, teams can produce and organize structured content in the system of their choice, then easily pull it into Gatsby.

How to source data from a database

Gatsby integrates with Postgres, MySQL, MongoDB and a number of other databases.

How to source data from hosted services

Gatsby can sync data from a wide variety of hosted services from social media (Instagram, Twitter) to spreadsheets (Airtable, Google Sheets).

 Additional Guides 4

  • Source data from NetlifyCMS
  • Source data from private APIs
  • Source data from private APIs
  • Source data from a JSON or YAML file