> For the complete documentation index, see [llms.txt](https://docs.antbuddy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.antbuddy.com/tai-lieu-antbuddy-huong-dan-su-dung-antbuddy-docs-user-guide/quan-tri-khach-hang-antcrm-antcrm-customer-management/tin-nhan-da-kenh-conversation/zalo-oa/16.-tao-ung-dung-zalo-bot.md).

# 16. Tạo ứng dụng Zalo Bot

## Bước 1: Đăng nhập vào trang: <https://developers.zalo.me/>

## Bước 2: Click icon profile -> Thêm ứng dụng

<figure><img src="/files/d5FOxW7lnPY6nzA2vncu" alt=""><figcaption></figcaption></figure>

## Bước 3: Điền thông tin cho ứng dụng

<figure><img src="/files/n0fgwlzBGa5yVC0P6Lfi" alt=""><figcaption></figcaption></figure>

## Bước 4: Cài đặt

● Chọn miền ứng dụng\
● Upload ảnh\
● Chọn kích hoạt

<figure><img src="/files/xepsvTBy2KD30FCHtQ5R" alt=""><figcaption></figcaption></figure>

## Bước 5: Xác thực domain

Nhập domain beeiq.co rồi bấm Xác thực

<figure><img src="https://huongdan.antbuddy.com/uploads/images/iVBORw0K16812702851047985990848709744.png" alt=""><figcaption></figcaption></figure>

Tại popup Chưa được xác thực, chọn Xác thực ngay

<figure><img src="https://huongdan.antbuddy.com/uploads/images/iVBORw0K16812702851056137979255742272.png" alt=""><figcaption></figcaption></figure>

Tại popup Xác thực quyền sở hữu, người dùng chọn cách xác thực số 3 "Thêm thẻ meta vào trang chủ trang web của bạn"

Copy url meta rồi gửi cho CSKH Antbuddy để thực hiện xác thực

<figure><img src="https://huongdan.antbuddy.com/uploads/images/iVBORw0K168127028510539467218277075136.png" alt=""><figcaption></figcaption></figure>

## Bước 6: Đăng ký sử dụng API

Đăng kí sử dụng API -> Official Account API\
Enable tất cả tính năng -> Nộp xét duyệt

<figure><img src="/files/beYBcozOCieI2enuAn7w" alt=""><figcaption></figcaption></figure>

## Bước 7: Thiết lập đăng nhập

* Home URL:  <https://beeiq.co>
* Callback URL:<https://beeiq.co/zalo/callbackurl>

<figure><img src="/files/NHs00SuMatmWAQMlkUKf" alt=""><figcaption></figcaption></figure>

## Bước 8: Cập nhật webhook

<figure><img src="/files/QrIyAk8ufUIWgbY0BqCH" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/yNq8ka9Vt5wRBN0SromW" alt=""><figcaption></figcaption></figure>

Webhook URL: <https://beeiq.co/zalo/webhook>

OA Secrect Key

Enable tất cả sự kiện

## Bước 9: Thiết lập đường dẫn yêu cầu cấp quyền

Official Account Callback Url : <https://beeiq.co/oauth2/redirect.html>

<figure><img src="/files/6nxhHhdPvqDXHvG416y4" alt=""><figcaption></figcaption></figure>

## Bước 10: Quản lí OA => Liên kết OA

<figure><img src="/files/HTKhgI5JEZxxzPP3wcXX" alt=""><figcaption></figcaption></figure>


---

# 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:

```
GET https://docs.antbuddy.com/tai-lieu-antbuddy-huong-dan-su-dung-antbuddy-docs-user-guide/quan-tri-khach-hang-antcrm-antcrm-customer-management/tin-nhan-da-kenh-conversation/zalo-oa/16.-tao-ung-dung-zalo-bot.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.
