Getting Started

Baza Live Chat is a self-hosted WordPress live chat plugin with Telegram bot integration. Visitors chat on your website, you receive messages instantly in Telegram and reply without opening WordPress. This guide covers everything from installation to first message in under 10 minutes.

Requirements

  • WordPress 5.0 or higher
  • PHP 7.4 or higher
  • A Telegram account
  • SSL certificate (HTTPS): required for Telegram webhook

Step 1: Install the Plugin

Go to WordPress Admin, Plugins, Add New. Search for Baza Live Chat and click Install Now, then Activate.

Alternatively, download the zip file from your account dashboard, then go to Plugins, Add New, Upload Plugin.

Step 2: Create a Telegram Bot

You need a Telegram bot to receive visitor messages. Creating one takes less than 2 minutes.

Get your Bot Token

  1. Open Telegram and search for @BotFather
  2. Send the command /newbot
  3. Enter a name for your bot (e.g. My Site Support)
  4. Enter a username ending in bot (e.g. mysitesupport_bot)
  5. Copy the token: it looks like 123456789:ABCdef...

Get your Chat ID

  1. Open Telegram and search for @userinfobot
  2. Send any message to it
  3. Copy the Id value from the response (e.g. 123456789)

Step 3: Enter Credentials

Go to Baza Live Chat, Settings, Telegram tab.

  1. Paste your Bot Token
  2. Paste your Chat ID
  3. Click Save Settings

Step 4: Set Webhook

The webhook allows Telegram to deliver your replies back into the chat widget in real time.

  1. Go to Settings: Webhook tab
  2. Click Set Webhook
  3. Status changes to Active: webhook is ready

The webhook URL is set automatically, you do not need to copy or paste anything.

Step 5: Test the Chat

  1. Open your website in a browser (not while logged in as admin)
  2. Click the chat button in the bottom corner
  3. Send a test message
  4. You should receive it in Telegram immediately
  5. Reply in Telegram using the Reply button on the message: it appears in the visitor’s chat within seconds

The chat widget does not appear when you are logged in as administrator. Open an incognito window to test it.

Optional: Keep the License Key in wp-config.php

If you prefer not to store the license key in the database, define it in wp-config.php, above the line that says “That’s all, stop editing”:

define( 'BLC_LICENSE_KEY', 'your-license-key' );

BAZALC_LICENSE_KEY works the same way. The key in wp-config.php is the one in use, whatever is saved in the admin. On the License tab there is then nothing to type: it says where the key lives, Delete license is hidden, and changing the key from the admin is refused. To change or remove the key, edit wp-config.php.

Last Modified: 20.10.2026