# Google Gemini

## Получить API Key

* Перед получением API-ключа Gemini вам нужен проект Google Cloud (если он у вас уже есть, этот шаг можно пропустить)
* Перейдите в [Google Cloud](https://console.cloud.google.com/projectcreate) Создайте проект, укажите название проекта и нажмите «Создать проект»

<figure><img src="/files/ebfe5eda1a201a7114cbde1186a59f674931e212" alt=""><figcaption></figcaption></figure>

* на официальной [странице API Key](https://aistudio.google.com/app/apikey?hl=zh-cn) нажмите `Ключи Создать API-ключ`

<figure><img src="/files/74a110e878efc8e30dd7161ce972707feb18f6fd" alt=""><figcaption></figcaption></figure>

* Скопируйте сгенерированный ключ и откройте в CherryStudio [настройки провайдера](https://github.com/CherryHQ/cherry-studio-docs/blob/main/pre-basic/providers/broken-reference/README.md)
* Найдите провайдера Gemini и введите только что полученный ключ

<figure><img src="/files/39d80504b3f9f8a1fcb7105f584489ed1bfc8c8c" alt=""><figcaption></figcaption></figure>

* Нажмите внизу «Управление» или «Добавить», добавьте поддерживаемые модели и включите переключатель провайдера в правом верхнем углу — после этого можно пользоваться.

{% hint style="info" %}

* В Китае, за исключением Тайваня, невозможно напрямую использовать сервис Google Gemini; необходимо самостоятельно решить вопрос с прокси;
  {% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.cherry-ai.com/docs/russian/pre-basic/providers/google-gemini.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
