# How to add messenger

A short video about publishing bots to the right channels:

{% embed url="<https://www.youtube.com/watch?v=EgJB3_rttX4>" %}

When the script is ready to be tested, it needs to be published. To do this, go to the scenario settings by clicking on the "settings" button in the left menu:

![](/files/aa20cf9ld8mIItsKKS59)

The Connected Channels list shows all the channels to which the script is connected. This means that the script will run in those channels.&#x20;

{% hint style="info" %}
**A channel** is a medium for communicating with your subscribers. For example, a Telegram bot.
{% endhint %}

To add a new channel, click on the "Add Channels" button. You will be taken to the service settings, where you can manage all channels:

![](/files/nGV3xkwImifFix7bXOXH)


---

# 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.smartbotpro.io/beginning-of-work/how-to-add-messenger.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.
