logoalt Hacker News

surfmiketoday at 2:08 AM2 repliesview on HN

Personally I went to 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/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.


Replies

krat0sprakhartoday at 3:05 AM

+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.

show 2 replies
vlovich123today at 2:22 AM

> 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)