Appearance
Setup Telegram Bot
Complete guide to creating and configuring your Telegram bot.
Create Your Bot
Step 1: Open BotFather
- Open Telegram
- Search for @BotFather
- Start a chat
Step 2: Create New Bot
Send the command:
/newbotBotFather will ask for:
- Bot name - Display name (e.g., "My Store Assistant")
- Bot username - Unique identifier ending in
bot(e.g.,mystorebot)
Step 3: Save Your Token
BotFather will respond with your API Token:
Done! Congratulations on your new bot. You will find it at t.me/mystorebot.
Use this token to access the HTTP API:
123456789:ABCdefGHIjklMNOpqrSTUvwxYZ⚠️ Keep this token secret! Anyone with the token can control your bot.
Connect to KLEO
Step 1: Open Dashboard
- Go to Shopify Admin → Apps → KLEO Chat
- Navigate to Telegram Settings
Step 2: Enter Token
- Paste your bot token
- Click Save & Activate
Step 3: Verification
KLEO will:
- Validate the token with Telegram
- Configure the webhook
- Enable your bot
You'll see a success message with your bot's username.
Customize Your Bot
Bot Profile
In BotFather, you can customize:
/setdescription - What users see before starting
/setabouttext - Shown in bot profile
/setuserpic - Bot avatar (use your store logo!)Commands Menu
Set up command hints:
/setcommandsThen send:
start - Start shopping
products - Browse products
cart - View cart
help - Get helpTest Your Bot
- Open Telegram
- Search for your bot username
- Click Start
- Try asking about a product!
Troubleshooting
| Issue | Solution |
|---|---|
| "Invalid token" | Check for typos, get new token from BotFather |
| Bot not responding | Verify webhook in dashboard |
| Slow responses | Check server status |