> 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

Подключение MAX к Nextbot через MAX или MAX Bot

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

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

### [MAX](https://doc.nextbot.ru/functional/integrations/max/lichnyi-max.md)

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

### [MAX Bot](https://doc.nextbot.ru/functional/integrations/max/max-bot.md)

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

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

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

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

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

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

Если вам нужно настроить отправку отчётов, используйте отдельную инструкцию для [MAX](https://doc.nextbot.ru/functional/functions/sending-result/adminu-v-messendzher/max.md) или [MAX Bot](https://doc.nextbot.ru/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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.nextbot.ru/functional/integrations/max.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
