Skip to content
Loopwix Docs

Install the website chat

Create a public key, paste one line of code into your site, and follow the steps for WordPress, Wix, Webflow, Shopify, Google Tag Manager or any website.

Open the agent, choose Channels, Manage on Website chat, then the Install tab. It is headed "Add chat to your website. Paste one line of code on your site. That's it."

How do I add the chat to my website?

Open the agent, choose Channels, select Manage on Website chat, then open the Install tab. Copy the one line of code with your public key and paste it into your site. The tab has steps for WordPress, Wix, Webflow, Shopify, Google Tag Manager and any other website.

Steps

Your public key

The tab shows the key you have, for example lwix_pub_KLiIK10E…. A key's full value is shown only when it is created. Replace YOUR_PUBLIC_KEY in the code with the key you saved, or choose Create another key.

Paste this on your site

<script src="…/widget.js" data-key="YOUR_PUBLIC_KEY" defer></script>

The script address is filled in for you in the studio.

Follow the steps for your platform

Pick one from the list.

Platform steps

Works on any site where you can edit the page HTML.

  1. Copy the code.
  2. Open your site's HTML and paste it just before the closing </body> tag (the <head> also works).
  3. Publish the change and reload your site. The chat button appears in the corner.

Chat only loads on sites you have allowed: add yours under Advanced → Allowed sites (Advanced).

How it appears

Under How it appears choose where the chat shows up. Chat window → Opens from a button shows a launcher. Choose Chat bubble, or use your own button with data-loopwix-open (Embed and configure the chat widget).

Preview and share

  • Preview on a sample site lets you see the chat working before you add it to your real site.
  • Create share link makes "a page of its own with your chat on it, handy for email, social posts or QR codes". See Full page chat.

Problems? See Troubleshooting.

Was this page helpful?

Last reviewed 2026-11-21

On this page