🤖 How to connect a Telegram account to the app

📚 This tutorial will guide you step-by-step through the process of creating a bot using BotFather in Telegram.

💡 PRO TIP: Click here to hire an expert to guide you in the step by step. Book a call now to learn all the tips and tricks for training your AI, or let us handle it all for you instead.

How to Initiate Chatting with BotFather #

Follow these simple steps to start your bot creation process and select the correct option to create a new bot.

  1. Open Telegram: Launch the Telegram app on your device.

  2. Search for BotFather: Use the app’s search bar and enter the keyword ‘BotFather’. Ensure you select the verified BotFather account to avoid any confusion.
  3. Initiate Conversation: Immediately, you will see a message with two links and a ‘Get Started’ button labeled START. Click on this ‘Start’ button to begin the conversation with BotFather.

  4. Create New Bot: Without delay, BotFather will send you another message with multiple options. Now, click on the /newbot option to start the new bot creation process.

 

How to Create a Bot Using BotFather #

  1. Name Selection: The BotFather will initially ask you to choose a name for your bot. Select a unique name that adequately represents your bot.

  2. Username Choice: Next, the BotFather will request a username that must end with ‘bot’. Provide a username that meets this criterion.
  3. Username Verification: The BotFather will check the availability of the username. If the username is already in use, you will be asked to choose another. Continue this process until you find an available username.
  4. Token Assignment: Once the username is approved, the BotFather will congratulate you and provide the token to access the HTTP API. This token is crucial for building and operating your bot.
  5. Token Security: It is vital to keep your token secure. The token allows full control over your bot, so store it in a secure place and do not share it.
  6. Token Use: Copy the provided access token to start building your bot and to use the HTTP API functionalities.

How to Connect Your Bot with the App #

Follow these steps for a successful integration and take advantage of the video tutorial for a detailed visual guide of the process.

  1. Accessing the Connection Menu: Navigate to the ‘Connect Bot’ menu in BotCommerce.
  2. Entering the Bot Token: Enter the token you received from BotFather into the field labeled ‘Telegram bot token’. Ensure the token is entered correctly to prevent any connection issues.
  3. Connecting the Bot: After entering the token, click on the ‘Connect bot’ button. You will immediately receive a confirmation message indicating that the bot has been successfully connected.
  4. Managing Bot Status: After connection, a box displaying the name and username of your bot will appear. To deactivate your bot, turn off the radio button labeled ‘active’. To reactivate it, simply turn this button back on.
  5. Disconnection and Synchronization: You can disconnect your bot at any time by clicking on the ‘Disconnect’ button. Additionally, to synchronize your bot’s information, use the ‘Sync’ button.
  6. Additional Resources: For a deeper understanding of the process, we recommend watching the video tutorial provided, which offers detailed visual instructions.