# Как получить Sender ID и Server Key в Firebase

1. Перейдите в [консоль Firebase](https://console.firebase.google.com/). Если у вас ещё нет учётной записи, создайте её, авторизовавшись через gmail-аккаунт, и воспользуйтесь [инструкцией по регистрации приложения в Firebase](https://docs.edna.ru/kb/kak-zaregistrirovat-prilozhenie-v-firebase/).
2. Перейдите к проекту приложения, нажмите на иконку Настройки и выберите **Project Settings**.

<figure><img src="https://docs.edna.ru/wp-content/uploads/2022/02/firebase-key-1-1024x281.png" alt=""><figcaption></figcaption></figure>

3\. Выберите вкладку **Cloud Messaging** и скопируйте параметры **Sender ID** и **Server key**.

<figure><img src="https://docs.edna.ru/wp-content/uploads/2022/02/SenderIDandAPIKey-2-1.png" alt=""><figcaption></figcaption></figure>

4\. Вставьте параметры Sender ID и Server key в соответствующие поля настроек Андроид-приложения в edna.


---

# 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://help.zenky.io/app/android/firebase-key.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.
