> For the complete documentation index, see [llms.txt](https://docs.invt.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.invt.ai/product-guides/invtai-bots-guides/telegram-bot-guide.md).

# Telegram Bot Guide

Here we will cover step by step guide on how to install the InvtAI Telegram bot and customizing the bot with your training data.

## 1. Installing InvtAI bot to your Telegram group.

#### Step 1. Add InvtAI bot to your Telegram group.

Go to your Telegram group and add the InvtAI Telegram bot(<https://t.me/InvtAIBot>) to your group.

#### Step 2. Grant admin permission&#x20;

Grant the admin permission to the InvtAI Telegram bot.

#### Step 3. Interact with the bot

To query the bot in your group or Discord, use ‘@’ or type ‘q: ‘ followed by your question.

That's it! Once you added the bot to your group and gave admin permission then you can start interaction with the bot and ask any questions.

<figure><img src="/files/9VOqS92xToAgQCPgrx4W" alt=""><figcaption></figcaption></figure>

***But how about tailoring the bot to your community and project? If you want the bot to answer project-specific questions and auto-engage, you need to sign up, register the Telegram channel on our platform, and supply training data.***

## 2. Customizing the bot.

#### **Step 4. Connect your group to the InvtAI service**

* In your group, send the command “/connect”.

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

* Click the "*Register Now"* button that appears, which will lead to InvtAI website.

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

#### Step 5. **Register or Log in to the InvtAI platform to finish the setup**

* After clicking *Register Now*, you will be redirected to the [InvtAI dashboard](https://app.invt.ai).
* Log in or sign up to our platform and then Telegram settings page will open.
* Fill out your Telegram group details or you can just use the auto populated information.

<figure><img src="/files/3nc3RuKPDPCIdqEUwkHD" alt=""><figcaption></figcaption></figure>

* Toggle on the ‘Welcome message’ option and craft a personalized greeting using ${User}.\
  \
  For instance, if your welcome message says ”Hi ${User}, great to see you!”, the bot will automatically post “Hello @Sam, great to see you!” when the user @Sam joins.<br>
* Click "*Save"* button.

You are all set up! The bot is now ready to automate your community management and streamline engagement.
