# Tích hợp Mattermost

## Tạo webhook URL trên Mattermost

* Mở ứng dụng Mattermost và đăng nhập vào tài khoản của bạn.
* Vào **Main menu** => **Integrations** => **Incomming Webhook.**
* Chọn **Add Incomming Webhook.**

![](/files/nbSJILZut40jEMD0Y3ON)

* Điền các thông tin cần thiết và chọn channel muốn nhận thông tin biến động số dư => **Save**.

![](/files/TSvhsCtiIWtOgiZVnc2E)

* Sau đó, Mattermost sẽ tạo ra một đường dẫn **Webhook URL** cho phép Casso sử dụng để thực hiện tích hợp. Sao chép nội dung đường dẫn của **Webhook URL** này để chuẩn bị cập nhật vào tích hợp trong Casso.

{% hint style="info" %}
Nếu không thấy Integrations trong Main Menu, bạn vui lòng vào **System Console > Integrations > Integration Management** với vai trò là system admin, còn nếu không phải system admin thì bạn phải liên hệ admin để mở tính năng này.
{% endhint %}

## Thiết lập tích hợp Mattermost trong Casso

* Truy cập Casso, vào menu **Kết nối** => **Kho ứng dụng =>** tìm kiếm và thêm tích hợp ứng dụng **Mattermost.**

![Tìm kiếm Mattermost trong Kho ứng dụng](/files/RpUsljdwyOt6V2ClQ1xe)

* Tại cửa sổ tích hợp, ta chọn ngân hàng muốn nhận thông báo và nhập Webhook URL đã sao chép ở bước 1 vào trường Nhập thông tin Mattemost => **Gọi thử** để kiểm tra đã có thông báo chưa.

![Điền webhook Url đã sao chép và Gọi thử](/files/pVVX13iWjHwLhIdl0Uzo)

* Nếu gọi thử thành công, ta **Lưu thay đổi** để bắt đầu sử dụng.

![Gọi thử thành công](/files/pTrLeOcM2FG1PwIk8jYz)

GLHF!


---

# 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://docs.casso.vn/tich-hop/mattermost.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.
