Connect WordPress website chat to Telegram

Add two-way chat to WordPress: visitors stay on your website while you reply from a private bot chat or team group. Installation depends on your hosting, user permissions and whether your site allows JavaScript.

Open SupportHub in Telegram

Check hosting and access

  • For self-hosted WordPress, you need administrator access to insert JavaScript; user roles and security settings can restrict script tags.
  • WordPress.com requires a plugin-enabled plan with hosting features activated. Restricted plans remove script tags.
  • Connect a bot and choose a personal inbox or private team group. Team mode requires Topics and the bot permissions to manage them.

Installation steps

  1. Finish connecting SupportHub

    Open the Mini App in Telegram, connect your bot, choose a personal inbox or team group and verify that messages and replies work.

  2. Configure the widget and copy its code

    Open Widget, set the title, subtitle and color, save the appearance settings and copy the complete code. Keep your organization ID, channel ID and widget key; do not replace them with values from someone else's example.

  3. Choose one page or the whole website

    For a single page, use a Custom HTML block if it preserves JavaScript. For all pages, use an administrator-approved code insertion tool for a shared header or footer. SupportHub does not require a dedicated WordPress plugin; you need a way to insert the generated code unchanged.

  4. Save and check the published page

    Paste the entire code, including script tags, then update the page. Open the public URL outside the editor. If the script disappears after saving, check permissions, hosting restrictions and your insertion method.

  5. Refresh cached pages

    If you use WordPress caching or a CDN, clear the changed page's cache. Confirm the code appears only once, through either the page block or a shared template.

Widget settings and installation code in SupportHub
The Widget screen: appearance and installation code. Local interface screenshot with demonstration data.

Verify the message and reply

  1. Open the public website without signing in to WordPress and open chat.
  2. Fill in the contact fields if shown, then send ‘WordPress chat test’.
  3. Find the request in your private bot chat or its own Topic in your team group.
  4. Reply to the request card and confirm the visitor receives your reply in the widget.
  5. Check another website page and a phone screen, especially when using a shared header or footer.

Common installation issues

WordPress removes script tags

Check your user permissions and hosting rules. On WordPress.com, JavaScript requires the appropriate plan and activated hosting features. Use an administrator-approved insertion method rather than a regular text block.

The widget is missing after an update

Check the full code on the published page and clear caches. If optimization plugins defer or combine JavaScript, ask your administrator to check widget loading without those transformations.

Chat appears on only one page

An HTML block only installs code on the page containing it. Use a shared template or header/footer insertion tool for site-wide chat, then check several public pages.

A Telegram reply does not arrive

Check the selected personal inbox or team group, bot availability and group permissions where applicable. Send a test message and reply in that request's Topic, then return to the widget to check the result.

This connects the SupportHub web widget to your website. It does not synchronize contacts, deals or CRM records.

Platform documentation

Other installation guides

Back to home