Hi, @mellunar. The environment variables only exist in the build environment. The build environment stops running when the build is complete and the environment variables no longer exist at that point. So, unless you take steps to hard code the environment variables in the javascript (which is not a recommended solution) they won’t exist for your javascript to use.
If this is client side javascript, please reconsider what you are doing. If you hard code these environment variable into the client side javascript, this will expose your API key to all site visitors and is probably a very bad idea.
A better solution would be to make those API calls inside a Function so that the API keys are hidden from the end user of the site. There is a support guide about this here: