# Google Gemini

## Get API Key

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

<figure><img src="https://1658303467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-1b672d0d3a7c91ec2029c67bf61bd841e60ab506%2Fimage%20(74).png?alt=media" alt=""><figcaption></figcaption></figure>

* On the official [API Key page](https://aistudio.google.com/app/apikey?hl=zh-cn) Click `Key: Create API key`

<figure><img src="https://1658303467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-d25a68f843733f29ba0b541b64499296a8eec5ad%2Fimage%20(72).png?alt=media" alt=""><figcaption></figcaption></figure>

* Copy the generated key, and open CherryStudio's [provider settings](https://github.com/CherryHQ/cherry-studio-docs/blob/main/pre-basic/providers/broken-reference/README.md)
* Find the provider Gemini, and enter the key you just obtained

<figure><img src="https://1658303467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-aac8dc1f791d2a5acdcb9c9892e5bd9b69e34b99%2Fimage%20(75).png?alt=media" alt=""><figcaption></figcaption></figure>

* Click Manage or Add at the bottom, add the supported models, and turn on the provider switch in the upper right corner to use it.

{% hint style="info" %}

* In China, regions other than Taiwan cannot directly use Google Gemini services; you need to resolve proxy issues yourself;
  {% endhint %}
