Because WPGraphQL already provides a GraphQL API, we can access it directly in Gatsby using gatsby-source-graphql. In this video, we’ll install and configure the plugin in Gatsby so we can see WordPress data loaded in Gatsby’s data layer.
gatsby-source-graphql