Step 1: Add the Plugin Element
In your Bubble editor, go to the Elements Panel. Drag the "Telegram Login/Signup" element onto your page. Position it for easy visibility and interaction.
Step 2: Configure Telegram Bot Settings Bot Name: Enter the name assigned to your bot. Bot Token: Paste the bot token you received from Telegram’s BotFather. Button Size: Adjust the button size in the element’s properties to fit your design.
Step 3: Setup Authentication Workflows In the Workflow Editor, set up the When “Telegram Login/Signup” credentials are received event. Use the received credentials (Telegram User ID, First Name, Profile Picture) to trigger login/signup workflows. Use the element’s exposed states to fill user details (e.g., username, profile picture).
Step 4: Handle Login/Signup Logic Existing User: If a user exists in the database, log them in and redirect as needed. New User: If the user is new, register them and set up their profile (e.g., assign a role, set default profile picture, redirect).
Types
This plugin can be found under the following types:
Easy setup and works well. Look carefully at demo setup example.
Thank you for using our plugin. Can you please start a discussion on our support forum: https://forum.thechakor.com/ so our team can go back and forth with you and resolve your issue ASAP?