> For the complete documentation index, see [llms.txt](https://doc.nextbot.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.nextbot.ru/functional/integrations/max.md).

# MAX

{% hint style="warning" %}
Внимание: на текущий момент интеграция `MAX Bot` находится на стадии бета-тестирования и может работать нестабильно. `MAX` уже доступен в полном релизе.
{% endhint %}

Интеграция MAX позволяет подключить ИИ-агента к мессенджеру MAX и использовать его как канал связи с пользователями.

## Варианты подключения

### [MAX](/functional/integrations/max/lichnyi-max.md)

Подходит, если вы хотите, чтобы ИИ-агент отвечал от имени вашего аккаунта MAX. Подключение выполняется через QR-код.

### [MAX Bot](/functional/integrations/max/max-bot.md)

Подходит, если вы хотите работать через отдельного чат-бота MAX. Для подключения используется `Access Token` бота.

## Полезно перед подключением

Перед запуском аккаунта MAX в работу ознакомьтесь с [особенностями, ограничениями и блокировками MAX](/functional/integrations/max/osobennosti-ogranicheniya-i-blokirovki-max.md). В статье собраны настройки приватности, признаки временных ограничений и рекомендации по снижению риска блокировки.

## Что можно настроить

В зависимости от выбранного типа подключения вы можете:

* принимать и отправлять сообщения в MAX;
* включать или отключать ответы в групповых чатах;
* получать отчёты администратора в MAX как через `MAX`, так и через `MAX Bot`;
* передавать метки из ссылок на MAX Bot через [Deep Linking](/functional/integrations/max/peredacha-metok-iz-max-bot-s-ispolzovaniem-deep-linking.md);
* управлять поведением агента через настройки подключения.

Если вам нужно настроить отправку отчётов, используйте отдельную инструкцию для [MAX](/functional/functions/sending-result/adminu-v-messendzher/max.md) или [MAX Bot](/functional/functions/sending-result/adminu-v-messendzher/max-bot.md).


---

# 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://doc.nextbot.ru/functional/integrations/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.
