Environment variables in production

Hiya @sgriesel and welcome to our community!

If you use a variable called $GATSBY_* (where * is any valid string) you should be able to use it directly in your gatsby, browser-side code. You may want to instead do a less gatsby-specific thing and use your environment variables by any name, but you do have to interpolate the values yourself in that case! See this article for more details on the best practices there: