Summary
In this chapter, we learned about the Gatsby Sanity source plugin and how it uses GraphQL to interact with and import content from Sanity. We learned how to use GraphQL to test and write GraphQL queries in the context of Gatsby, using the GraphiQL web-based application. We also learned how GraphQL obtains Sanity's content through its GraphQL API.
In the next chapter, we'll learn about how Gatsby can source additional content from sources such as the filesystem and Content Management Systems (CMS), as we move closer to building a website using Gatsby.