Skip to content

Install the widget with the code snippet

Paste one line of code before the closing body tag.

Follow these steps

  1. 01

    Open Settings → Installation and copy the embed code. It contains your unique widget key (starting with htc_live_).

  2. 02

    Paste it into your website's HTML just before </body>, on every page where chat should appear.

  3. 03

    Reload your site — the chat bubble appears bottom-right (or bottom-left if you chose that position).

Good to know

Where to find your key

Copy the complete snippet from Settings → Installation. Each business has its own widget key. Do not use the example key shown in public guides.

Check your site

Publish your site after pasting the script. Open a public page in a private window, send a test message and confirm it reaches Inbox. If you use a cache, clear it first.

Browse platform guides

Where to paste the live chat code

Common website builders

On most platforms the code goes into a footer or custom code field that loads on all pages: Squarespace uses Code Injection, Webflow uses custom code in project settings, BigCommerce uses Script Manager and Shopify uses theme.liquid.

Paste the snippet once; adding it twice can create two chat buttons.

Confirm the installation

After publishing, visit your site in a private window. When the first real visit reaches HTchat, your dashboard shows the website as connected.

Common questions about HTchat

Is my data separated from other businesses?
Yes. Each account is isolated at the database level and only your team members can read it.
Does the widget slow down my site?
The script loads asynchronously and renders in an isolated layer, so it doesn't block your page or inherit your styles.
What visitor data do you collect?
Current page, referrer, browser, operating system, device type and approximate location (country/city), plus whatever name and email the visitor chooses to share. We never collect form contents, passwords or payment details.
How do I reset my password?
On the sign-in page click "Forgot password?" and we'll email you a reset link.

Keep exploring HTchat

  • How to install live chat on WordPress with a plugin

    Download, upload and connect the HTchat WordPress plugin, then verify the visitor widget and troubleshoot common installation problems.

  • AI chat

    An AI chat agent that answers from your own Q&A and knowledge, never invents prices or policies, and hands visitors to a person when it can't help.

  • Live visitors

    See who is on your website right now, which page they're reading and where they came from — with privacy by design: no query strings or form data stored.

  • Wix live chat

    Add HTchat live chat to a Wix site through Settings → Custom Code. Answer visitors from a shared inbox with page and source context.

  • Live Visitors

    See who is chatting right now. A live view of visitors active in conversations, with the page they're on and where they came from.

  • Your first conversation

    Install the widget, send a test message and answer it from the inbox.

  • Using the shared inbox

    Open, closed and all conversations, unread counts and replies.

  • Email, browser and sound alerts

    Choose which alerts you receive.

  • Messages aren't arriving

    What to check if replies or messages seem stuck.

  • When should an AI chat agent hand off to a person?

    Set practical boundaries for an AI support agent: use approved answers, recognize uncertainty, hand off difficult questions and review outcomes.