Add Gemini ApiKey

Here’s an improved version of your blog text:


Good morning All,
I’m new to this community and I’m currently trying to deploy my app. However, I’m encountering some issues with including the Gemini API Key.

Typically, Firebase Studio opens an automatic window where you can input the key. But if you fork from an existing GitHub repository, as I did, many of the visual coding features are not active.

Could someone please guide me on where I need to add my Gemini API Key?

Thanks
Andre :pizza:

Update: Firebase suggest me to create a .env.local to store my Apy Key.. now it works, but is that secure?

thx

.env is secure if you control your code.

If you’re committing your code to a repository, you want to leave .env out.

you can leave it out by typing the .env and .env.local in .gitignore