Skip to main content

Aghanim-Telegram Login Integration

This guide explains how to integrate Aghanim with Telegram to enable user authentication via a Telegram bot. This allows users to log in to your hub using their Telegram credentials.

Requirements

Step 1: Create a Telegram Bot

  1. Open Telegram and search for @BotFather.
  2. Start a chat and send the command /newbot.
  3. Follow the prompts to:
    • Set the bot name (e.g., “GameHubLoginBot”)
    • Choose a unique bot username (must end in bot, e.g., gamehub_login_bot)
  4. After creation, you’ll receive a Bot Token (e.g., 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11).
  5. Optionally, configure the bot icon and description via /setuserpic and /setdescription.

Step 2: Configure the Integration in Aghanim

  1. Go to the Aghanim Dashboard → Aghanim ConnectTelegram Login.
  2. Fill in the required fields:
    • Bot Username – the handle of your Telegram bot (e.g., gamehub_login_bot)
    • Bot Token – the token generated by BotFather
  3. Click the Install button to activate the integration.
Telegram
Telegram

Step 3: Configure the Login Method on the Game Hub

  1. Navigate to GameSettings in the Aghanim dashboard.
  2. Under the Game hub login look & feel section, open the Login methods dropdown.
  3. Select Telegram from the list of available methods (you can select multiple).
  4. Click Save changes to apply the configuration.
Telegram
Telegram

Once saved, players will be able to use Telegram to log in to your game hub.

Need help?
Contact our integration team at integration@aghanim.com