Articles in this section
Category / Section

Connect to Gemini using an API key.

1 min read
  1. Navigate to https://ai.google.dev/aistudio, then log in using your Google account. 

  2. Agree to legal notice by Google.
  3. Navigate to https://aistudio.google.com/app/u/1/apikey; choose Create API Key in a new project if you don't have a Google Cloud Project already, or select from an existing project if you do.
  4. Click copy on the generated key.  Important: Keep your API Key private. Please do not share it to avoid unauthorized use.
  5. On the Add-Ons, go to Settings --> API Key Settings. Paste the value, then click Save.

  6. In the API key you just generated, select "Set Up Billing" and follow the instructions until you finish. Important: You must upgrade to the Pay-as-You-Go tier since the Free tier has very low requests per minute (only 2-15 per minute). See more about the latest limits here: https://ai.google.dev/gemini-api/docs/models/gemini

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Access denied
Access denied