Skip to main content
Share / Export

Obtain a Gemini API Key for TEDI

Use this guide to create a Gemini API key from Google AI Studio, then paste it into TEDI under Settings > Providers. Google UI labels can change; use the official AI Studio docs if a menu name differs.

Before you begin​

  • A Google account with permission to create an AI Studio / Gemini API key for your company.
  • TEDI installed on the machine where you will paste the key.
  • Google Cloud billing turned on for the project that owns the key. TEDI needs a paid key: use billing, not the free tier or a consumer Gemini plan.

Step 1: Open Google AI Studio​

  1. Go to https://aistudio.google.com.
  2. Sign in with your Google account.
  3. Accept any Gemini API / AI Studio terms if prompted.

Step 2: Open API keys​

  1. In AI Studio, open Get API key / API keys (sidebar or dashboard), or go to https://aistudio.google.com/api-keys.
  2. If Google already created a default key for a new account, you can copy that key. Otherwise continue to create one.

Step 3: Create an API key​

  1. Select Create API key.
  2. Choose Create API key in a new project (simplest for first use) or pick an existing Google Cloud project your IT team wants to bill.
  3. Confirm creation and copy the key value.

Prefer keys that are restricted to the Gemini / Generative Language API when AI Studio offers a restrict option. Follow Google’s current guidance if your project shows unrestricted keys.

Step 4: Store the key safely​

  • Copy the key into your password manager before leaving the page.
  • Do not email the key or paste it into tickets or shared chat.
  • If the key may have been exposed, delete or rotate it in AI Studio / Google Cloud and create a new one.

Step 5: Paste the key into TEDI​

  1. Open TEDI and go to Settings > Providers (in the AI models group).
  2. Open the Gemini card.
  3. Paste the key into API key.
  4. Under Models TEDI can use, turn on at least one model, then select Save Gemini.
  5. In What TEDI uses, pick Gemini and a model for Chat & automation and Document Intelligence.

TEDI uses the OpenAI-compatible Gemini endpoint https://generativelanguage.googleapis.com/v1beta/openai/. You normally do not change it.

Full TEDI UI walkthrough: Configure AI Providers in TEDI.

Security checklist​

  • Keep the key on the TEDI host and in a password manager only.
  • Do not commit the key to source control or shared docs.
  • Rotate the key if it may have leaked.