Widget Setup Guide
3 minLast updated: 2026-03-31
Embedding the Chat Widget
The simplest way to add Neimar.io to your website. One line of code, works on any site.
Get Your Embed Code
Go to your agent's Integration tab and copy the embed code. It looks like:
<script src="https://your-api.com/widget/agent-widget.js" data-agent="your-agent-uuid"></script>
Add to Your Website
Paste the code just before the </body> tag on every page where you want the chat widget. A floating button will appear in the bottom-right corner.
Domain Whitelisting
For security, add your domain to the widget's domain whitelist in the Integration tab. The widget will only work on whitelisted domains. Use wildcards like *.yourdomain.com for subdomains.
Customization
In the Style tab, customize colors, position (left/right), button size, welcome message, header title, and logo. Changes are reflected immediately in the live preview.