# Connecting a Telegram bot

To connect a Telegram bot to NovaTalks, you first need to create the bot itself through the official Telegram bot — BotFather. Below is a detailed instruction:

### Step 1. Open BotFather

1. Open the Telegram app.
2. In the search bar at the top, type BotFather.
3. Select the result with the blue check mark icon and the “bot” label.

<figure><img src="/files/oG6g8nkp0Bp1zNz1Q5Ey" alt="" width="375"><figcaption></figcaption></figure>

### Step 2. Create a new bot

1. Click the **/start** button or enter the command manually: **/newbot**

<figure><img src="/files/BqCAFuTGcsbfVvoE2k6I" alt="" width="365"><figcaption></figcaption></figure>

2. BotFather will ask for the bot’s name: “Please choose a name for your bot.”
3. Enter the name that will be used for the bot, for example: NovaShop

<figure><img src="/files/b6BF1fgVyYbeBKZbSrTM" alt="" width="375"><figcaption></figcaption></figure>

### Step 3. Specify the username

BotFather will ask you to come up with a unique username, which must end with “bot” or “\_bot”, for example: NovaShop\_bot or NovaShopBot.

### Step 4. Get the access token

After this, BotFather will send you a message with a link to your bot and an access token:

{% hint style="warning" %}
**IMPORTANT:** The token looks approximately like this: 123456789:AAABBBcccDDDeeeFFFgggHHH
{% endhint %}

You must save this token — it allows NovaTalks to connect the bot to your account.

<figure><img src="/files/pBAr51HXWEogvTizWvOZ" alt="" width="369"><figcaption></figcaption></figure>

### Step 5. Send us the token

Copy the access token from the last message and send it to the NovaTalks support group. We will connect your bot to the service and notify you once it is ready.


---

# 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://help.novatalks.com.ua/en/get-started/connecting_messengers/connecting-a-telegram-bot.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.
