> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/docs/en-us/pre-basic/providers/vertex-ai.md).

# Vertex AI

## Tutorial Overview

### 1. Get API Key

* Before getting a Gemini API Key, you need a Google Cloud project (if you already have one, you can skip this step)
* Enter [Google Cloud](https://console.cloud.google.com/projectcreate) Create a project, enter the project name, and click Create Project

<figure><img src="/files/12e124197fd018f61e00a8f3aea78663731047d3" alt=""><figcaption></figcaption></figure>

* Enter[Vertex AI console](https://console.cloud.google.com/vertex-ai)
* Enable it in the created project [Vertex AI API](https://console.cloud.google.com/apis/library/aiplatform.googleapis.com?inv=1\&invt=Ab0iBA)

<figure><img src="/files/8427cf78ef612e73cffe74c633b867f8b271acdc" alt=""><figcaption></figcaption></figure>

## 2. Set up API access permissions

* Open [Service account](https://console.cloud.google.com/iam-admin/serviceaccounts) In the permissions page, create a service account

<figure><img src="/files/2747c44d1c4201c0bb6fcc506e0dd85792f8086b" alt=""><figcaption></figcaption></figure>

* On the service account management page, find the service account you just created and click`Key`and create a new JSON-format key

<figure><img src="/files/94e9a3256e81f8bddd1012be6fdd933bf9180f94" alt=""><figcaption></figcaption></figure>

* After creation is successful, the key file will be automatically saved to your computer in JSON format, please **keep it safe**

## 3. Configure Vertex AI in Cherry Studio

* Select the Vertex AI provider
* Fill in the corresponding fields from the JSON file

<figure><img src="/files/41624de6690f2bdd4b2410ecfc37f88b6b75b13b" alt=""><figcaption></figcaption></figure>

Click Add [Model](https://console.cloud.google.com/vertex-ai/model-garden)and you can happily start using it!

***

### 💡 Get help and submit feedback

If you encounter any questions, bugs, or have suggestions for feature improvements during configuration or use, please refer to [Feedback and Suggestions](/docs/en-us/question-contact/suggestions.md) the official channels provided there.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cherryai.com.cn/docs/en-us/pre-basic/providers/vertex-ai.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
