Gemini API key on a Studio app

Hi, I’ve created an app in studio that uses Gemini in studio it works fine. Now I transferred the app to netlify and need to activate my own Gemini API key.

How to do that? I’ve set the Netlify environmemnt variable to Gemini_Api etc. But the app still shows the error that the api key is not present.

Who can assist me in setting this up?

Thanks for any suggestions.

Hi @appifier ,

Could you please try changing the environment variable to “VITE_GEMINI_API_KEY” and let us if still the issue persists.