CommerceOS

Widget & API

Installing the widget

Add the chat to any website with one line of code.

Your install code is in Setup → Install on your site. It looks like this, with your own key:

<script src="https://cdn.selfserve.cosmos.hub.nortq.com/v1/chat.js" data-public-key="pk_live_your_key" defer></script>

Paste it just before the closing </body> tag on every page where the chat should appear. The key is public — it only works on the addresses you've allowed.

Shopify

  1. In Shopify admin, go to Online Store → Themes.
  2. On your current theme, choose ⋯ → Edit code.
  3. Open layout/theme.liquid, paste the code just above </body> and save.
  4. Add your myshopify.com address and your own domain to the allowed addresses in Setup.

WordPress

Use a plugin that adds code to the footer (such as WPCode or "Insert Headers and Footers"), paste the code into the footer box and save. Or add it to your theme's footer.php before </body>.

Wix

Go to Settings → Custom code → Add custom code, paste the code, choose All pages, place it in Body – end, and apply.

Squarespace

Go to Settings → Advanced → Code injection, paste the code into Footer and save. Code injection requires a Business plan or higher.

Webflow

Go to Site settings → Custom code, paste the code into Footer code, save and publish your site.

Google Tag Manager

Create a Custom HTML tag with the code, trigger it on All Pages, and publish your container.