Category / Section
How to get a bot auth token
Published:
How to set up a Telegram bot
The following are the steps for creating a Telegram bot and its API access token (auth token).
- Open the Telegram Messenger application and sign in or create a new account if you don’t have one.
- Enter @BotFather in the search bar and choose the official Telegram account with a blue verification mark, as shown in the below image.
- Click Start to activate the BotFather bot. You will receive a list of commands to manage the bots.
- Select or enter the /newbot command and click Send.
- Enter a name for your bot, which will be visible in your visitor’s conversations.
- Then, enter a username for your bot. It must be unique and end with the word bot, allowing visitors to find and contact you easily.
- After your bot has been created successfully, copy the provided API access token code for account configuration purposes.
Note: To manage your bot, use the list of bot commands, which includes setting up the profile picture and description, among other things.
- Paste the copied API access token in the Add Account page to configure your account, then click Verify & Continue to finish the process.
How to get a token for an existing Telegram bot
Follow these steps to obtain an API access token (auth token) for an existing Telegram bot:
- Go to the @BotFather bot and prompt the command /mybots. You will receive a list of the bots you have created.
- Choose the bot for which you want to get the token.
- Click API Token to retrieve your bot token.
- Copy the API access token (auth token) and paste it into the BoldDesk configuration page.