> ## Documentation Index
> Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding Gemini Models in Google Vertex

> Add Gemini models from Google Vertex to TrueFoundry AI Gateway with region and access control settings.

This guide walks you through the steps to add Gemini models in Google Vertex using the TrueFoundry platform, along with configuring access controls.

## Adding Gemini Models

### 1. Navigate to the AI Gateway

* In the **TrueFoundry Dashboard**, go to **AI Gateway** → **Models**
* Select **Google Vertex** as your model provider

### 2. Select or Create a Provider Account

* Choose an existing **Vertex Provider Account**, or click [**Create New**](https://docs.truefoundry.com/gateway/google-vertex) to set up a new one
* This account will be used to access and manage your Gemini models

### 3. Choose a Gemini Model

You can add a Gemini model in one of two ways:

**3.1 Select from Available Models**

<img src="https://mintcdn.com/truefoundry/FeKcq2n1MMm83Par/images/Screenshot2025-06-24at5.14.29PM-min.png?fit=max&auto=format&n=FeKcq2n1MMm83Par&q=85&s=80b13b6a9165305fd66d4aff080e59a2" alt="Screenshot2025 06 24at5 14 29PM Min Pn" width="3592" height="1998" data-path="images/Screenshot2025-06-24at5.14.29PM-min.png" />

**3.2 Add a Model Manually**

1. Click the **Add Model** button located at the bottom of the list

   <Note>
     While adding Gemini Models, you need to provide the model ID in the `<partner>/<vertex-model-id>` format. For example, `google/gemini-2.5-pro`.
   </Note>

   <img src="https://mintcdn.com/truefoundry/FeKcq2n1MMm83Par/images/Screenshot2025-06-24at5.12.57PM-min.png?fit=max&auto=format&n=FeKcq2n1MMm83Par&q=85&s=96d71095a5f53dd674396bd878b5e2ff" alt="Screenshot2025 06 24at5 12 57PM Min Pn" width="2170" height="2004" data-path="images/Screenshot2025-06-24at5.12.57PM-min.png" />
2. You can find the Model ID of model in Google Console

   <img src="https://mintcdn.com/truefoundry/s4Aj2_qGCrSP-zc8/images/Screenshot2025-06-24at3.35.57PM-min.png?fit=max&auto=format&n=s4Aj2_qGCrSP-zc8&q=85&s=8602f748c8e104db216de6a7ac500a29" alt="Screenshot2025 06 24at3 35 57PM Min Pn" width="3076" height="1788" data-path="images/Screenshot2025-06-24at3.35.57PM-min.png" />

### 4. Configure Model Settings

* When adding a model manually, you can specify additional settings such as the **Region**

  <Note>
    The Region is optional. If left blank, it will inherit the default region specified during Provider Account creation. Use this field only if you want to override the default region.
  </Note>
