How to make gemini key works?

Hello,

I’m prototyping firebase studio apps.

I have a app that I d like to make it works.

Last developments indicates for error GENERATIVE_AI_API_KEY not found

image-altanator-gh–image-altanator.us-east5.hosted.app

I see in some guides or samples .env environment variables with ““ for me, I haven’t quoted the value (?)

I ll give you a code sample and compete error in comment

If you go to the website click on “ancienne“ or old ui chechbox

Hii @Manuel_Dahmen
Welcome to the AI Forum!!!

Thank you for reaching out to us.
You can generate your API key directly from the Google Cloud Console by following these steps:

  1. Go to the GCP Console
  2. Navigate to APIs & Services
  3. Create Credentials
  4. Select your project and create a new API key.

Once the key has been created, it’s ready to use.