Widget Installation
A single JavaScript file (~20KB) that loads asynchronously on any website.
Basic Installation
<script src="https://app.resolvebot.io/widget.js" data-org-id="YOUR_ORG_SLUG" async></script>Platform-Specific Instructions
Paste the script tag before the closing body tag.
Data Attributes
| Attribute | Default | Description |
|---|---|---|
data-org-id | Required | Your organization slug |
data-color | #2563EB | Primary color (hex) |
data-position | bottom-right | Widget position |
data-lang | fr | Language: fr or en |
JavaScript API
ResolveBot.open() // Open the widget
ResolveBot.close() // Close the widget
ResolveBot.identify({ email: 'john@example.com', name: 'John' })ResolveBot.identify() pre-fills the customer's info and skips the pre-chat form. Use it for logged-in users.