# 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="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FOCGcvP27j0HdMuJC7iRE%2Fimage.png?alt=media&#x26;token=8be4bc98-a0c8-4b08-8eea-0d098b300e4c" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FpDgkpz2ODhwdibBQbl99%2Fimage.png?alt=media&#x26;token=e3a20051-42a9-40f1-a2a0-90723f1da427" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2F3sS8plUVM4SOu6zYEEXG%2Fimage.png?alt=media&#x26;token=9731a11b-3c51-4bfe-89ea-163715fb3aca" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2F0ea11bFO22Fd3pVg6uaz%2Fimage.png?alt=media&#x26;token=07769be8-4f0c-4318-9456-91767ef5d9e0" 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="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FSpTUBvjoKRNKKwXySPEr%2Fimage.png?alt=media&#x26;token=2deb8a82-a40b-42f2-b68d-79c35aeb5874" 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="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2Fv7e1aSoArnanZBA5gIRM%2Fimage.png?alt=media&#x26;token=2cc21c2e-2fa0-48cc-a05c-db710078059b" 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="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FQvraZwbZfAXcj80dRgit%2Fimage.png?alt=media&#x26;token=199512ab-ba22-4a94-8f12-13bc4005b316" 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="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2Fbav5tYJ0PraSQe6iQAGp%2Fimage.png?alt=media&#x26;token=6aeab0c5-f172-46c5-b3d2-667df01be8cd" 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="edit-and-manage-chatflow" %}
[edit-and-manage-chatflow](https://help.botpenguin.com/bots/telegram-bot/edit-and-manage-chatflow)
{% endcontent-ref %}

{% content-ref url="ai-settings" %}
[ai-settings](https://help.botpenguin.com/bots/telegram-bot/ai-settings)
{% endcontent-ref %}

{% content-ref url="telegram-automation" %}
[telegram-automation](https://help.botpenguin.com/bots/telegram-bot/telegram-automation)
{% endcontent-ref %}

{% content-ref url="telegram-chatbot-settings" %}
[telegram-chatbot-settings](https://help.botpenguin.com/bots/telegram-bot/telegram-chatbot-settings)
{% endcontent-ref %}

{% content-ref url="train-your-ai-chatbot" %}
[train-your-ai-chatbot](https://help.botpenguin.com/bots/telegram-bot/train-your-ai-chatbot)
{% endcontent-ref %}

{% content-ref url="3rd-party-apps-integrations" %}
[3rd-party-apps-integrations](https://help.botpenguin.com/bots/telegram-bot/3rd-party-apps-integrations)
{% 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.
