> For the complete documentation index, see [llms.txt](https://docs.athenachat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.athenachat.ai/kanaly/messendzhery/max.md).

# MAX

MAX подключается из личного кабинета Афины по QR-коду — без токена бота и без ввода номера телефона.

***

## Шаг 1 — Выберите MAX

**Действие:** В [личном кабинете](https://ru.app.athenachat.ai) откройте **Каналы → Добавить канал** и нажмите **Max**.

![Выбор канала MAX](https://4126380821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwirYrs8odJMFan3KqfzY%2Fuploads%2FT5vJoSWDrdSdZbFjiV0H%2Fmax-select-arrow.png?alt=media)

## Шаг 2 — Назовите канал

**Действие:** Введите название канала, чтобы отличать каналы одного типа, и нажмите **Подключить**.

![Название канала MAX](https://4126380821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwirYrs8odJMFan3KqfzY%2Fuploads%2FVS9xRCcpRwfx1PtHBO2D%2Fmax-name.jpg?alt=media)

## Шаг 3 — Авторизуйтесь по QR-коду

**Действие:** На экране появится QR-код. Отсканируйте его камерой телефона, на котором установлен мессенджер MAX:

1. Отсканируйте QR-код камерой телефона.
2. Вы попадёте в раздел «Устройства в MAX».
3. Нажмите «Войти по QR коду» и ещё раз отсканируйте QR-код.
4. Дождитесь завершения авторизации. Не закрывайте это окно.

![QR-код подключения MAX](https://4126380821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwirYrs8odJMFan3KqfzY%2Fuploads%2F1psdKEunqkBXCXyhVC5U%2Fmax-qr.png?alt=media)

## Шаг 4 — Настройте агента

**Действие:** Заполните роль, инструкцию поведения и задачи — как для любого другого канала. Подробнее: Настройка агента.

## Шаг 5 — Проверьте

**Действие:** Канал MAX подключён. Проверьте работу в тестовом чате или напишите в MAX на подключённый аккаунт.


---

# 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.athenachat.ai/kanaly/messendzhery/max.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.
