# Publishing

Publishing in Waterflai is the process of making your chatbot or workflow available for use in production environments (API, or Chat interface). This page guides you through the publishing process and explains the various integration options available after publication.

### Publishing Your Chatbot

There are two main ways to publish your chatbot in Waterflai:

1. **Save and Publish**:
   * When editing your chatbot configuration, use the "Save and Publish" option from the dropdown menu next to the "Save" button.
   * This action saves your current configuration and immediately makes it live.
2. **Publish from Chatbot List**:
   * In the Studio page, find your chatbot in the list.
   * Click the three-dot menu (⋮) on the chatbot card.
   * Select "Publish" from the dropdown menu.

> **Note**: Publishing creates a new version of your chatbot. Previous versions are retained, allowing you to roll back if needed.

### Best Practices for Publishing

1. **Testing**: Thoroughly test your chatbot in the live experimentation environment before publishing.
2. **Version Control**: Keep track of your chatbot versions.
3. **Monitor Performance**: Use Waterflai's analytics tools to monitor your chatbot's performance after publishing.
4. **Update Regularly**: Regularly review and update your published chatbots to improve their effectiveness over time.

### Managing Published Chatbots

* You can edit a published chatbot at any time. Changes will not affect the live version until you publish again.
* :warning: Deleting a chatbot will remove all its published versions and make it unavailable for use. Exercise caution when deleting.


---

# 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.waterflai.ai/studio/publishing.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.
