# Bot Setup

## Interactive Guide

{% embed url="<https://app.arcade.software/share/4e3UyHhvZlDMO7gZQe02>" %}

***

## What is a Telegram Bot?

A **Telegram bot** is an automated assistant inside the Telegram app that can chat with users like a real person. On **BotPenguin**, this bot can send messages, answer user queries, collect data, guide visitors, and handle tasks without any manual effort. It helps businesses stay connected with their customers at all times—without needing someone online 24/7. Once connected via BotPenguin, the Telegram bot can manage multiple conversations at once, making customer support and engagement simple and efficient.

***

## Video Guide

{% embed url="<https://youtu.be/cG_BmXWhHTc>" %}

***

## How to Automatically Create a Telegram Chatbot?

1. Log into your BotPenguin account. Click on the top-left "New Bot" button.

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

2. Select the "Telegram Chatbot" at platform selection.

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

3. Select your Business Goal, and then click on "Proceed to Next Step"

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

4. Enter your phone number which is connected with Telegram.

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

5. You will receive a "Login code" in your Telegram account. Enter the Login Code and click on "Create Bot".

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

{% hint style="info" %}
You may click to \`resend\` code in case you haven't received it. If still not received the Login code, please verify the Telegram mobile number and re-enter it by clicking "Change number".
{% endhint %}

6. Congratulations! You have created your Telegram Chatbot!

***

## How to Manually Create a Telegram Chatbot

1. Follow the above steps till step 4. Then, click on "Manually Connect Your Chatbot"

<figure><img src="/files/8L9Nh3NFUxKB057d8Z1K" alt=""><figcaption></figcaption></figure>

2. Enter the:
   1. Bot name which you want to connect.
   2. Bot user name which you want to connect
   3. Bot Authentication Token received on telegram from "BotFather".

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

3. Click on Connect Bot.
4. Congratulations! You have successfully created a Telegram Chatbot!

### Edit Your Chat Flow <a href="#np04rhwyx5y5" id="np04rhwyx5y5"></a>

1. A chat flow is a structure of messages that determines how a conversation will take place between your chatbot and the user. Click on the \`Chat Flows\` tab to customize your chat flow.

<figure><img src="/files/1oBXDi34U4UftLOeNb2s" alt=""><figcaption></figcaption></figure>

2. Here, you will find a pre-created template of a chat flow that you can customize as per your business needs. It is very easy and quick to customize the chat flow.&#x20;

{% content-ref url="/pages/QBoOQ5y1TRpIFGmLqGPy" %}
[Edit and Manage Chatflow](/bots/telegram-bot/edit-and-manage-chatflow.md)
{% endcontent-ref %}

{% content-ref url="/pages/7eEsXDr8bf4P6qa0NpzE" %}
[AI Settings](/bots/telegram-bot/ai-settings.md)
{% endcontent-ref %}

{% content-ref url="/pages/UHJkiCfpag4IRnY3wDlT" %}
[Telegram Automation](/bots/telegram-bot/telegram-automation.md)
{% endcontent-ref %}

{% content-ref url="/pages/pbwyt6yKUSmBqx7Nlekw" %}
[Telegram Chatbot Settings](/bots/telegram-bot/telegram-chatbot-settings.md)
{% endcontent-ref %}

{% content-ref url="/pages/Vja5ASIKf9Q1ZPn5E9dz" %}
[Train Your AI Chatbot](/bots/telegram-bot/train-your-ai-chatbot.md)
{% endcontent-ref %}

{% content-ref url="/pages/Oe3xrifiOup2xsmRbTJQ" %}
[3rd Party Apps Integrations](/bots/telegram-bot/3rd-party-apps-integrations.md)
{% endcontent-ref %}

## FAQ's

<details>

<summary>What do I need to create a Telegram bot automatically on BotPenguin?</summary>

You need a **Telegram account** and access to **BotPenguin**. You must enter the phone number linked to your Telegram account and input the **Login Code** received on Telegram.

</details>

<details>

<summary>What should I do if I don’t receive the Login Code?</summary>

Click the **`resend`** button. If the code still doesn’t arrive, verify that the phone number is correct and try again using **`Change number`**.

</details>

<details>

<summary>Can I manually connect a Telegram bot?</summary>

Yes. After entering your phone number, choose **"Manually Connect Your Chatbot"** and enter the following:

* Bot Name
* Bot Username
* Bot Authentication Token (from BotFather on Telegram)

Then, click **Connect Bot**.

</details>

<details>

<summary>How can I edit the chat flow of my Telegram bot?</summary>

Click the **`Edit Your Chat Flow`** tab. A pre-created template will appear, which you can easily customize as per your business needs.

</details>

<details>

<summary>Can I create multiple chat flows?</summary>

Yes. Go to the **Chat Flows** section, click **`Create Flow`**, give it a name, and it will be listed under `Flow name`.

</details>

<details>

<summary>What is a Drip Campaign, and how do I set it up?</summary>

A **Drip Campaign** is a series of scheduled messages. Go to the **Drip Campaigns** tab and click **`Create Campaign`** to begin.

</details>

<details>

<summary>What is a Widget, and where can I use it?</summary>

A **Widget** is a chat interface that can be added to your website, ads, blogs, or promotional content. To create one, go to **Widgets** in **Bot Settings** and click **`Create Widget`**.

</details>

<details>

<summary>How can I send messages to multiple users at once?</summary>

Use the **Broadcast** feature. Go to the **Broadcast** tab under **Bot Settings** and click **`Create New Broadcast`**.

</details>

If you still have some questions for our team, write to us at <support@botpenguin.com>. We will respond back within 48 business hours.


---

# 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.botpenguin.com/bots/telegram-bot/bot-setup.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.
