# \_1.2 Kết nối bot với Fanpage

### 1. Có 3 cách kết nối bot với Fanpage.

Kết nối bên ngoài giao diện bot.

* Tại bên ngoài giao diện hiển thị các bot, bạn có thể kết nối fanpage với bot mà bạn muốn kết nối bằng cách: Nhấn **Connect page** → Nhấn **Connect to Page** trên Page mà bạn muốn kết nối với bot&#x20;

![Chọn connect page](/files/-Md6LXsBPBNfnE3C9blj)

Kết nối bên trong giao diện bot:

* Bên trong giao diện chat bot, bạn nhìn góc trên bên trái có chữ **Connect page** → Nhấn **Connect to Page** trên fanpage mà bạn muốn kết nối với bot.          &#x20;

![Chọn connect bên trong giao diện bot](/files/-Md6LxsKgeVAg6ktvAfn)

Kết nối bot với fanpage trong phần setting (Cấu hình).

* Trên thanh công cụ màu xanh phía bên trái giao diện bot chọn: **Setting (Cấu hình) →  Connect Page → Nhấn Connect to Page** trên Page mà bạn muốn kết nối với bot.                                                                                                                 &#x20;

![Cấu hình -> Connect page](/files/-Md6MRbvs4aeyYQ2IfwH)

### 2. Lưu Ý:

1. Một page chỉ connect được với 1 bot.
2. Smax bot chỉ hiển thị những fanpage bạn cung cấp quyền cho Smax khi login. Để cập nhật page mới vào Smax bạn vui lòng logout ra và login lại để cấp quyền cho fanpage đó.
3. Chỉ có thể kết nối bot với fanpage khi bạn là admin của fanpage đó.

### &#x20;                                                                                                                              &#x20;


---

# 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://tailieu.smax.bot/bat-dau-voi-smax.bot/_1.2-ket-noi-bot-voi-fanpage.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.
