Sanity is the fastest, most flexible platform for delivering content to digital devices and products.
Install NPM packages
Install Sanity plugin in gatsby-config.js
Now let's add environment variable files.
You are ready to go!
Note: full gatsby-config example here