> For the complete documentation index, see [llms.txt](https://docs.nocodecloud.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nocodecloud.ru/google/service-account.md).

# Как настроить сервисный аккаунт Google

Сервисный аккаунт Google имеет главное преимущество для интеграций в том, что с ним не нужно перепривязывать интеграцию несколько раз в неделю, чтобы она не слетала

## Если ещё нет проекта в Google Cloud

1. Открываем Google консоль по ссылке: [https://console.cloud.google.com](https://console.cloud.google.com/iam-admin/serviceaccounts)

   <figure><img src="/files/uzzqHQj5IclRKUfZoiC7" alt=""><figcaption></figcaption></figure>
2. Нажимаем "Select a project" слева сверху

   <figure><img src="/files/t5Dtkem6djeZRl5nSAPa" alt=""><figcaption></figcaption></figure>
3. Нажимаем "New project"

   <figure><img src="/files/0FHdJGRFUJYVta4FhrNu" alt=""><figcaption></figcaption></figure>
4. Придумываем название и нажимаем "Create"

   <figure><img src="/files/KOjvgh9mc6mgihFqq05H" alt=""><figcaption></figcaption></figure>
5. Снова нажимаем "Select a project" слева сверху, затем выбираем наш проект, нажав на него

   <figure><img src="/files/KtLTAKXoCYjEjdaEtavR" alt=""><figcaption></figcaption></figure>
6. Открываем боковое меню

   <figure><img src="/files/pOxPNVK5RbrC0PiQ9zYg" alt=""><figcaption></figcaption></figure>
7. Открываем IAM & Admin > Service Accounts

   <figure><img src="/files/Kiyacs0ZHm7jZZ370Rws" alt=""><figcaption></figcaption></figure>
8. Переходим к следующему разделу инструкции

## Если уже есть проект в Google Cloud

1. Открываем Google консоль, а именно панель работы с сервисными аккаунтами, по ссылке: [https://console.cloud.google.com/iam-admin/serviceaccounts](< https://console.cloud.google.com/iam-admin/serviceaccounts>)

   <figure><img src="/files/g5yZx3BRFPTVtx6weeZi" alt=""><figcaption></figcaption></figure>
2. Выбираем приложение (проект), для которого хотим создать сервисный аккаунт

   <figure><img src="/files/xHKaPjOpmgO6pJYACqg9" alt=""><figcaption></figcaption></figure>
3. Создаем новый сервисный аккаунт

   <figure><img src="/files/UWM0dJoLc5PMyW1onnER" alt=""><figcaption></figcaption></figure>
4. Вводим название аккаунта, он будет выглядеть, как gmail почта, например:

   ```
   <название аккаунта>@<приложение>.iam.gserviceaccount.com
   ```

   <figure><img src="/files/vTqnEHdZez5DqIAWbRTw" alt=""><figcaption></figcaption></figure>
5. Нажимаем "Create and Continue"

   <figure><img src="/files/ggtJbrSP9Lov1uX2HBWH" alt=""><figcaption></figcaption></figure>
6. Нажимаем "Continue"

   <figure><img src="/files/oYsGXztnU6BoWEzbAHyx" alt=""><figcaption></figcaption></figure>
7. Нажимаем "Done"

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

## Получение кредитов от аккаунта

1. Находим созданный аккаунт в списке, справа нажимаем три точки и выбираем "Manage keys"

   <figure><img src="/files/smUaoFHkKZ0FpZTipmG0" alt=""><figcaption></figcaption></figure>
2. Нажимаем "Add key" и выбираем "Create new key"

   <figure><img src="/files/gSkHq5g5abUduCw2A2CW" alt=""><figcaption></figcaption></figure>
3. Нажимаем "Create"

   <figure><img src="/files/q9WvqwHBLO2KkNsgVKe7" alt=""><figcaption></figcaption></figure>
4. Файл сохранится на ваш компьютер

   <figure><img src="/files/5ndVIXy9XiemWjvnWT42" alt=""><figcaption></figcaption></figure>
5. Открываем этот файл в любом удобном редакторе (на скрине cursor)

   <figure><img src="/files/6wmLn2WNK7ps4uo1z3a2" alt=""><figcaption></figcaption></figure>
6. Копируем значение из private\_key (которое очень длинное)

   <figure><img src="/files/nAIMFlnkBAkHVcPpQZpQ" alt=""><figcaption></figcaption></figure>
7. Готово! Теперь можно использовать его для настройки интеграций :thumbsup:


---

# 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.nocodecloud.ru/google/service-account.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.
