How to connect your BotPapa mini app to a bot
Step 1. Create your own bot#
If you don't have any bots yet, you need to create one using BotFather. We have written detailed instructions on how to do this.
If you already have a bot, proceed to the next step
Step 2. Go to BotFather#
Go to the link: t.me/BotFather or search for the bot name “BotFather” to generate your bot token. It is needed to connect the mini app
Шаг 3. Send the command /token#
Send the command /token to generate your bot token
Step 4. Choose a bot#
Select the bot to which you want to connect the mini app from the offered options
Choose a bot
Step 5. Copy the token#
If you did everything correctly, BotFather will send you a message with your bot's token. Just click on the token to copy it
Copy the token
Step 6. Go back to BotPapa and add the token#
Go back to the desired mini app in BotPapa and paste the copied token into the "Bot Token" field
Paste the token
Step 7. Save your changes#
After clicking the “Connect Mini App to your own bot” button your mini app will become available in the connected bot and the bot username will appear in the settings of the mini app
In the settings of the mini app, you will be able to edit the bot's settings