> ## Documentation Index
> Fetch the complete documentation index at: https://continue-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Configure Gemini with Continue

<Info>
  Get an API key from [Google AI Studio](https://aistudio.google.com/)
</Info>

## Configuration

<Tabs>
  <Tab title="YAML">
    ```yaml title="config.yaml" theme={null}
    name: My Config
    version: 0.0.1
    schema: v1

    models:
      - name: <MODEL_NAME>
        provider: gemini
        model: <MODEL_ID>
        apiKey: <YOUR_GEMINI_API_KEY>
    ```
  </Tab>

  <Tab title="JSON (Deprecated)">
    ```json title="config.json" theme={null}
    {
      "models": [
        {
          "title": "<MODEL_NAME>", 
          "provider": "gemini",
          "model": "<MODEL_ID>",
          "apiKey": "<YOUR_GEMINI_API_KEY>"
        }
      ]
    }
    ```
  </Tab>
</Tabs>
