# (8) Publish

### Things you should know

1. Notes for publishing chatbots
2. How to publish

### 1. Before publishing

1. Make sure that **you have finished editing dialogue**, such as correctly naming the buttons and connecting to its corresponding messages. Also, do make sure that all rules of the messages are correctly set.
2. Remember to **train your bot before publishing**. Also, if you have updated utterances, you need to click on  **`Train`** and wait until training is finished.
3. Most importantly, make sure **your bot is connected** to either Facebook page or LINE@ account. If not, you can follow the guide on [Create Chatbot and Connect](https://app.gitbook.com/@docs-en-yoctol-ai/s/yoctol/~/edit/drafts/-LnQJsTXatUDJ-slOjKr/v/master/jian-ji-qi-ren-zhi-nan/2-create-a-chatbot-and-connect).

### 2. How to publish

‌Click on the **`Publish`** button on the top right corner, and wait for the **“Successfully published”** notification.&#x20;

![](/files/-LpSK70csqOCQkPtzv6x)

After publishing, you can test out your bot and check if the bot responds as expected.<br>


---

# 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-en.yoctol.ai/chatbot-building-guide/8-publish.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.
