API Credentials for Gemini

Guide to obtaining tokens, keys, and connections.

To use the Gemini API you only need one piece of information: your personal "API Key." Below is a step‑by‑step guide to obtain it from Google AI Studio.

API Key

  1. 1

    Open your browser and go to https://aistudio.google.com (Google AI Studio). Sign in with your Google account if you haven’t already.

  2. 2

    On the main screen, locate and click the button that says "Get API key in Google AI Studio."

  3. 3

    Click "Create API Key." The system will prompt you to select an existing Google Cloud project or create a new one. Choose the option you prefer and confirm.

  4. 4

    Google AI Studio will generate your key and display it on the screen. Copy the entire code exactly as it appears (it includes letters, numbers, and dashes) and store it in a safe place.