Enable the widget on your tenant
Open your CodeB admin console, go to Chat Channels, and enable the Simulator inbox (or whichever channel you already use).
In the same page, open the Website widget panel and add each origin you want the widget to run on. Origins are exact-match, one per line. Example:
https://www.some-customer.com https://staging.some-customer.com https://blog.some-customer.com
Paste the script tag on your website
Drop this one line just before the closing </body> tag of your website template. Replace tenant.example.com with your actual CodeB tenant domain.
<script src="https://tenant.example.com/chat-with-us-widget.js"
data-tenant="tenant.example.com"
data-channel="simulator"
data-title="Chat with us"
data-position="bottom-right"
data-accent-color="#7dd3fc"
data-greeting="Hi! How can we help?"
async></script>
#codeb-chat-widget so nothing leaks into your site's CSS.Reply from chat-channels.html
Open your tenant's chat-channels.html admin page. New visitor threads appear on the left as they arrive, sorted newest first. Click one, type a reply, hit Enter. The visitor sees your reply within two seconds without reloading the page.
Threads persist under App_Data/<tenant>/xmpp-channels/simulator/threads/. Everything is on your own IIS server — no third-party inbox.
See it live
The bubble looks like this in the bottom-right corner of a page:
Mock preview — the real widget is fully interactive.
Attributes you can customise on the script tag:
data-tenant— your CodeB tenant domain (required).data-channel— inbox to route into (defaults tosimulator).data-title— header text (default Chat with us).data-position—bottom-rightorbottom-left.data-accent-color— hex colour for bubble + buttons.data-greeting— the first message the assistant shows.data-brand— footer credit (default Powered by CodeB).