# 创建一个Chatbot

## 步骤1: 创建一个Chatbot

前往 [YCloud后台](https://www.ycloud.com/console/#/entry/login) > ChatBot，点击“创建 Chatbot”按钮并选择您需要创建的 Chatbot 类型，设置ChatBot的基础配置：

具体的配置将根据您选择的 Chatbot 类型而有所不同。

[AI Agent (AI 智能体)](/help-center/zh/chatbot/reactive-ai-agent.md)

[Rule-based Agent (规则机器人）](/help-center/zh/chatbot/rule-based-agent.md)

## 步骤2: 配置Chatbot对WhatsApp号码进行接管

{% hint style="info" %}
这一步建议完成Chatbot 配置后再进行设置。
{% endhint %}

操作路径：进入WhatsApp accounts > Settings > Assignment

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

在分配规则中选择分配给 Chatbot 并且在二级下拉中选择需要接管会话的 Chatbot。

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

## 复制Chatbot

Chatbot 复制功能，点击需要复制的 Chatbot 右侧的【复制】按钮，填写必要信息后进行复制。注意仅 flow 和profile 中的基础配置支持复制，其余 AI 相关内容暂不支持复制。

<figure><img src="/files/2rdgEO8YTuYOl0cc8j30" alt=""><figcaption></figcaption></figure>

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


---

# 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://helpdocs.ycloud.com/help-center/zh/chatbot/chuang-jian-yi-ge-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.
