4 ms·
Personally I went to https://console.cloud.google.com https://console.cloud.google.com since I already had some GCP projects. Then I searched for Gemini API Key
by surfmike 2mo ago
Personally I went to https://console.cloud.google.com https://console.cloud.google.com since I already had some GCP projects. Then I searched for Gemini API Key. It brought me to https://console.cloud.google.com/agent-platform/studio/settings/api-keys https://console.cloud.google.com/agent-platform/studio/setti.... Then, there was a banner saying "Enable APIs to access full platform capabilities." Then, I did that, which took quite a while (minutes). Finally, I was able to see the way to create an API key.
The fact that there's two ways to get keys is also very confusing.
- vlovich123 2mo ago> Enable APIs to access full platform capabilities Isn’t this the insecure thing that gives all your Google API keys access to Gemini, even those that were intended to be semi public (eg maps API keys embedded in websites or apps)
- krat0sprakhar 2mo ago+1 GCP can be confusing - I totally get that. Even if you have GCP projects, I'd still recommend the AI studio UI - easier to figure out. Also, you can easily see the free tier in AI studio and just use your API key from there.
- surfmike 2mo agoYes I will look into it now but there’s no cross reference from GCP, and why are there two ways? And why did the GCP way require all these APIs enabled while AI studio didn’t?
- ethbr1 2mo ago> And why did the GCP way require all these APIs enabled while AI studio didn’t? Because whatever internal team owns AI Studio fought for approvals to do so and GCP didn't?
- miohtama 2mo agoLuckily, an AI solves this. But ironically my experience is that Codex/Claude navigate GCP better than Gemini.