# Connect Your Telegram

{% hint style="info" %}
You need to —&#x20;

1. An Admin on MyAlice.
2. Have a personal or business Telegram account.
   {% endhint %}

Don't have a Telegram account? Get started with any of the links below.

* [Telegram for Android](https://play.google.com/store/apps/details?id=org.telegram.messenger).
* [Telegram for iOs](https://apps.apple.com/us/app/telegram-messenger/id686449807).
* [Telegram for Windows](https://desktop.telegram.org/).
* [Telegram for macOS](https://macos.telegram.org/).

Now that you have a Telegram account, follow these simple steps to set up Telegram on MyAlice.

## Use Cases of MyAlice for Telegram

Integrating your Telegram account with MyAlice will allow you to:

* Respond to Telegram messages from MyAlice inbox.
* Manage multiple Telegram account messages from the same account.
* Share product images using clickable widgets.
* Use chatbots to create custom user journeys and automate repetitive queries.
* Manage messages, comments, and e-commerce orders from other platforms in the same inbox.

## Connect Your Telegram Account

### Step 1: Generate a Token

1. Get started on [Botfather](https://t.me/botfather).
2. Type the command `/newbot`.&#x20;
3. Choose a name for your account.
4. Choose a username for your bot. It must be unique and end with the word 'bot' i.e., myalice\_bot.
5. Botfather will generate a unique token for you. Copy the token.

### Step 2: Link Your Telegram Account with MyAlice

![](https://content.gitbook.com/content/ZlunlE4rHhMzJq9M0MQx/blobs/Pg98zg9vbbYZERWVrD47/Integrations%20tab.png)

1. Go to **Integration** from the left navigation bar.
2. Under **Available Integrations**, select **Telegram**.
3. A connection window will appear from the right. Click on **Next**.
4. Add a name for your channel e.g., MyAlice Telegram.
5. Paste the token generated in [step 1](#step-1-generate-a-token) in the **Primary Token** field.
6. You can also [connect an NLP app](https://docs.myalice.ai/myalice-guide-arabic/chatbot-and-automation/create-rules-to-trigger-a-sequence/user-intent-by-nlp-wise-automation/connect-wit-nlp) to your Telegram account.&#x20;
7. Click on **Finish** to complete the setup.

{% hint style="info" %}
Publishing the channel means that the channel is live, along with the automation rules you have set for the channel. Some users prefer to publish their channel after they complete the automation flow. If you are one of them, please turn off the toggle for now. You can always turn it back on.
{% endhint %}

## Edit Telegram Channel Settings

From the Integration menu, select the **Integrated** tab. Here, you can view and manage your already connected channels.

![](https://content.gitbook.com/content/ZlunlE4rHhMzJq9M0MQx/blobs/A0ykx5iwVgpIpGWw5483/All%20Integrated%20Channels%20Final.png)

{% hint style="info" %}
Click on the triple dot (...) icon on each channel to edit channel settings, disconnect or delete your channel.
{% endhint %}

From the edit menu, you can edit the channel name, and connect [an NLP app](https://docs.myalice.ai/myalice-guide-arabic/chatbot-and-automation/create-rules-to-trigger-a-sequence/user-intent-by-nlp-wise-automation/connect-wit-nlp) to your Telegram channel.

Please refer to the following page to connect your NLP and train your chatbots to process, analyze and understand large amounts of natural language data.&#x20;

{% content-ref url="broken-reference" %}
[Broken link](https://docs.myalice.ai/myalice-guide-arabic/myalice-channels/connect-social-media/broken-reference)
{% endcontent-ref %}
