Install the widget
Add one script tag to every page where the chat should appear.
Paste the snippet just before the closing </body> tag. Find it, and your widget key, in Widget setup → Install. If someone else edits your site, select Email to a developer to send it to them.
<script src="https://cdn.chadacreatives.com/w.js" data-key="dw_XXXXXXXXXXXXXXXXXXXXXXXX" async></script>Then open your site once. Widget setup → Install shows Widget loaded successfully when the launcher has appeared. Select Check now to look again.
Website builders
Webflow: Site settings → Custom code → Footer. WordPress: use a header & footer plugin. Shopify: Online Store → Themes → Edit code → theme.liquid. Squarespace: Settings → Advanced → Code injection → Footer.
Choose where it can run
In Widget setup → Install, add the domains your snippet may run on. An entry such as example.com also covers www.example.com. A wildcard such as *.example.com covers every subdomain but not example.com itself, so add both if you need both. The assistant shows on every page of those sites that has the snippet.
Under Bot protection, switch on Check for bots to confirm a real person is chatting before the assistant answers the first message. Most visitors never see the check.
If your widget key leaks, select Regenerate under Widget key. The old key stops working immediately, so paste the new snippet straight away.
Options
Set the colour, launcher, position and theme in Widget setup → Appearance. Behaviour covers Press Enter to send and Remember recent chats, which lets visitors pick up chats from the last 30 days on the same browser. Changes show on your site once you publish them.
Add data-open="true" to the script tag to open the chat as the page loads, or data-theme="light" or "dark" to override the theme set in Widget setup.
If your site uses a Content-Security-Policy
Add the widget’s hosts to the directives you already have. The loader also adds a style tag for the launcher, so styles need 'unsafe-inline'.
script-src https://cdn.chadacreatives.com
connect-src https://api.chadacreatives.com
frame-src https://app.chadacreatives.com
style-src 'unsafe-inline'Single-page apps need nothing extra: load the snippet once and the chat stays put as visitors move between pages.