> 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/documentation/documentation-en/channels/messengers/max.md).

# MAX

MAX connects from the Athena personal account via QR code — without a bot token and without entering a phone number.

***

## Step 1 — Select MAX

**Action:** In [the dashboard](https://ru.app.athenachat.ai) open **Channels → Add channel** and click **Max**.

![MAX channel selection](https://1386629170-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwirYrs8odJMFan3KqfzY%2Fuploads%2FT5vJoSWDrdSdZbFjiV0H%2Fmax-select-arrow.png?alt=media)

## Step 2 — Name the channel

**Action:** Enter the channel name to distinguish channels of the same type, and click **Connect**.

![MAX channel name](https://4126380821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwirYrs8odJMFan3KqfzY%2Fuploads%2FVS9xRCcpRwfx1PtHBO2D%2Fmax-name.jpg?alt=media)

## Step 3 — Sign in using the QR code

**Action:** A QR code will appear on the screen. Scan it with the camera of the phone on which the MAX messenger is installed:

1. Scan the QR code with your phone camera.
2. You will be taken to the “Devices in MAX” section.
3. Tap “Sign in with QR code” and scan the QR code again.
4. Wait for authorization to complete. Do not close this window.

![MAX connection QR code](https://4126380821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwirYrs8odJMFan3KqfzY%2Fuploads%2F1psdKEunqkBXCXyhVC5U%2Fmax-qr.png?alt=media)

## Step 4 — Configure the agent

**Action:** Fill in the role, behavior instructions, and tasks — as for any other channel. Learn more: Agent setup.

## Step 5 — Check

**Action:** The MAX channel is connected. Check that it works in the test chat or send a message in MAX to the connected account.


---

# 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/documentation/documentation-en/channels/messengers/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.
