Skip to main content

Test first

Testing happens on the Your Agents page — the chat pane on the left talks to the selected agent through the same pipeline your customers use.
There is no longer a separate Test page. /dashboard/test now redirects to Your Agents, where testing sits next to the settings you are adjusting.
Worth checking before you go live:
  • Your top questions — are the answers accurate?
  • Off-topic questions — it should decline, not improvise
  • Each enabled action — ask naturally, not in keywords
  • Tone — does it sound like your brand?
  • Vague questions — does it ask a sensible follow-up?
If answers are thin, the fix is almost always more knowledge, not different settings. Add sources or Q&A pairs and publish again.

Deploy

Open Deploy, choose your agent, then your platform. AgntLabs generates the snippet with your agent ID already in it.
Copy the snippet from the Deploy page, not from these docs. It carries your real agent ID and the current widget version — the version string is what stops browsers serving your visitors a stale copy of the widget after an update.
A floating chat button in the corner of every page.
1

Copy the snippet from Deploy

2

Paste it before the closing </body> tag

3

Save and reload your site

4

Click the chat button to check it works

WordPress

1

Go to Appearance → Theme Editor

2

Open footer.php, or use a Custom HTML widget

3

Paste the code before the closing </body> tag

4

Click Update File

Shopify

1

Go to Online Store → Themes → Actions → Edit code

2

Open theme.liquid

3

Scroll to the bottom and paste before </body>

4

Click Save

Wix and Squarespace

Wix: Settings → Custom Code → Add Custom Code. Set Place Code in to Body – end, paste, and Apply. Squarespace: Settings → Advanced → Code Injection → Footer. Paste and save.

React / Next.js

Deploy generates a ready component. Create a file, paste it in, and render it from your layout:
The generated component includes 'use client'. Keep it — without it the widget will not run in the Next.js App Router.

After deploying

Settings changes reach live widgets on their own. Change your colour, greeting or tone in Customize and it takes effect without re-copying the snippet. Knowledge changes need a Publish. Adding a source is not enough on its own.

Checking it worked

  1. Open your site in a private window
  2. The chat button should appear in the position you configured
  3. Send a message
  4. Open Conversations — it should be there, with the channel recorded
If the button does not appear:
  • Confirm the snippet is before </body>, not in <head>
  • Check the browser console for errors
  • Clear your cache, or use a private window
  • Confirm the agent is published, not still a draft

An inline (iframe) embed

Not available yet. An iframe option exists in the product’s history but pointed at a page that was never built, so it has been hidden rather than left to render an empty box on a live site. For now, the floating widget is the supported way to put an agent on a website.