# 4.1. Tạo AI Chatbot

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

#### 📌 Bước 1: Truy cập trang tạo chatbot

Sau khi đăng nhập, từ giao diện chính:

➡️ Vào menu trái chọn **Dashboard**\
➡️ Nhấn nút **“+ Create Chatbot”** hoặc truy cập trực tiếp:\
🔗 <https://app.aichatbot.com.vn/dashboard/chatbot/create>

***

#### 🧾 Bước 2: Nhập thông tin chatbot

Bạn sẽ thấy giao diện tạo chatbot như ảnh:

1. **Chatbot Name**: Nhập tên AI chatbot (Viết thường, không dấu, không cách, không kí tự đặc biệt)\
   \&#xNAN;*Ví dụ: vinamilk*
2. **Brand Name**: Tên thương hiệu, tổ chức hoặc tên miền của bạn \
   \&#xNAN;*Ví dụ: vinamilk hoặc vinamilk.vn*
3. **Language**: Chọn ngôn ngữ mà chatbot sẽ sử dụng (VD: *Vietnamese*)
4. AI Agent: Chọn Agent template mẫu cho AI chatbot của bạn:
   * *Sales Agent* (Tư vấn bán hàng)
   * Customer Support Agent (Hỗ trợ khách hàng)
   * *Support Agent*,
   * ...
5. **Instructions**: Đây là phần cực kỳ quan trọng – **nhập hướng dẫn để định hình hành vi chatbot**.\
   Bạn có thể viết bằng tiếng Anh hoặc tiếng Việt, ví dụ:

   ```markdown
   # Vietnamese Sales Assistant for vinamilk

   ## Initial interative
   - Warm greeting
   - Ask customers what products they're interested in

   ## Sales Strategy
   - Convert declined offers into sales
   - Address concerns proactively
   - Use persuasive but honest communication

   ## Communication Style
   - Respond in short (<= 60 words)
   - Polite, Friendly and informal tone
   - Use Vietnamese slang and colloquialisms
   - Address the customer as 'you'
   - Refer to yourself as 'I'
   - Always include relevant images
   - If no relevant data then sorry, I'm don't know, please contact hotline: ...

   ## Key Guidelines
   - Always stay in character as vinamilk representative
   - Maintain brand voice and values in every interaction
   - Ask qualifying questions to understand customer needs
   - Provide clear product benefits and value propositions
   - Create urgency respectfully (limited offers, inventory, etc.)
   - Handle objections with empathy and facts
   - Close conversations with clear next steps
   - Never make promises beyond your authority

   ## Order Processing Steps
   Collect order informations:
   1. Product name & unit & quantity
   2. Delivery information (required):
   - Phone number
   - Delivery address
   3. Summary with total amount & ask customer to confirmation:
   - Estimated delivery: 3-5 days & Thank

   ## Important Notes
   - Never make up answer
   - If unsure, ask again for clarification
   - Check carefully before answering
   ```
6. (Tuỳ chọn) Nhấn **Optimize** để AI tối ưu phần hướng dẫn.

***

#### ✅ Bước 3: Tạo chatbot

Nhấn nút **“+ Create Chatbot”** ở góc dưới bên phải để hoàn tất quá trình.

***

#### 📌 Bước 4: Quản lý và huấn luyện chatbot

Sau khi tạo xong:

* Bạn sẽ được đưa đến giao diện quản lý chatbot.
* Tại đây bạn có thể:
  * Tùy chỉnh instruction và Thiết lập AI Chatbot
  * Cập nhật cơ sở tri thức
  * Xuất bản AI Chatbot lên các nền tảng Fanpage, Zalo OA, Website, ...
  * Tra cứu lịch sử chat của AI

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

***

Zalo hỗ trợ: 0983082334


---

# 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://huongdan.aichatbot.com.vn/aichatbot.com.vn/4.-quan-ly-ai/4.1.-tao-ai-chatbot.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.
