add environment variable to netlify code example
Example: netlify environment variables in develop
1 In the Netlify configuration file. ...
2 In your site dashboard under Settings > Build & deploy > Environment > Environment variables. ...
3 In team settings, under Settings > Sites > Global site settings > Shared environment variables.