> For the complete documentation index, see [llms.txt](https://tailieu.smax.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tailieu.smax.ai/bot-auto/trigger/website-trigger/website-welcome.md).

# Website Welcome

{% hint style="warning" %}
Hướng dẫn tạo plugin chat để nhúng vào Website hoặc sử dụng landing chat của Smax
{% endhint %}

Để tạo plugin chat Website, đầu tiên bạn cần chọn kênh Website đã kết nối trong module Bot-Auto, sau đó chọn Tạo mới trigger

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2Fer8A5wInhrUE1fais74j%2Fimage.png?alt=media&amp;token=ccd82f0f-5a00-4838-9beb-2acbb14d2523" alt=""><figcaption></figcaption></figure>

Sau đó chọn trigger Website Welcome

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2Fgux6Qjq6f7anu2QHmif6%2Fimage.png?alt=media&amp;token=82f84158-ee30-4a89-a5e2-9326797022e4" alt=""><figcaption></figcaption></figure>

Trong phần cấu hình trigger Welcome, bạn có thể chọn ngôn ngữ sẽ hiển thị trên plugin chat

Mặc định hệ thống sẽ để là English (tiếng Anh), bạn có thể thêm ngôn ngữ khác bằng cách nhấn chọn Add Language

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FGaLellSsY3MzQsVMcKmi%2Fimage.png?alt=media&amp;token=8492f22f-b7ef-40a6-aadd-0f7f82a9ba8e" alt=""><figcaption></figcaption></figure>

SmaxAi hỗ trợ 3 loại livechat Website:

* Plugin: Tạo ra 1 đoạn code và nhúng vào website của bạn, plugin chat sẽ hiển thị trên website
* Landing: SmaxAi tự tạo ra 1 trang landing page, trong trang landing page sẽ có sẵn plugin chat để sử dụng, bạn không cần có website riêng
* Form: Tương tự plugin, nhưng sẽ có phần form để thu thập thông tin khách hàng

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2F9fW5ebyDxDzyRQGPnyby%2Fimage.png?alt=media&amp;token=6b29bbf8-7b75-44da-bfe7-11c82b6124f8" alt=""><figcaption></figcaption></figure>

Bạn có thể tùy chỉnh cấu hình hiển thị, màu sắc, kiểu  ô nhập tin nhắn, câu chào mừng, vị trí plugin trên website,... trong phần Global Style và Plugin

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FN9QLZJcQwCQa3nEMgky5%2Fimage.png?alt=media&amp;token=8f923928-3c51-4cc0-baba-fc2edc3f9188" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FEtpBV9huxHOzOrbWStem%2Fimage.png?alt=media&amp;token=7a5d1333-7c3c-436c-bdad-427dcc9d05e4" alt=""><figcaption></figcaption></figure>

Bạn có thể thêm các câu hỏi để khách hàng lựa chọn khi mở plugin chat trong phần Câu hỏi gợi ý

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FHNND5fwe9nF08D4MgNla%2Fimage.png?alt=media&amp;token=74cd28e8-62a5-45d7-9424-c5bdc6397067" alt=""><figcaption></figcaption></figure>

Tùy chọn Menu cố định sẽ tạo ra 1 nút bấm để mở menu ở bên cạnh khung chat

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FdybaV1xX5RFZewCJ8t1N%2Fimage.png?alt=media&amp;token=2719f751-062a-4f58-ad54-ba1c43a6bc11" alt=""><figcaption></figcaption></figure>

Với loại plugin chat Website Form, bạn có thể chỉnh sửa các trường thông tin thu thập trong form tại phần Yêu cầu thông tin

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FlEkDg8tHMu77fZexphqs%2Fimage.png?alt=media&amp;token=19dfe9d5-b1b8-4b90-8b73-399ba63b5522" alt=""><figcaption></figcaption></figure>

Sau khi cài đặt xong, chọn Lưu để tạo trigger

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FI80Id4zKav6iGEXibqI4%2Fimage.png?alt=media&amp;token=aacf791d-d150-4d8a-b3f7-9595b8c76099" alt=""><figcaption></figcaption></figure>

Với tùy chọn plugin chat và form, bạn cần copy đoạn script và dán vào sau thẻ body của website

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FK3jW82f2H1QpruxqrcTF%2Fimage.png?alt=media&amp;token=d8a0a4af-8a45-47b2-8bc7-c8dd359ff764" alt=""><figcaption></figcaption></figure>

Với loại landing page chat của Smax, bạn chỉ cần copy URL dẫn tới website để sử dụg

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FXtagBdlGvvAek1KLf8Bw%2Fimage.png?alt=media&amp;token=81b914f0-e393-4ed4-aba2-83aef664e938" alt=""><figcaption></figcaption></figure>
