Basic Floating Widget
The simplest integration — a floating chat bubble in the bottom-right corner:Inline Embedded Widget
Embed the chat directly inside a page element instead of using the floating bubble. The widget fills its container and hides the toggle button.- The toggle button is hidden
- The chat panel fills 100% of the container
- The close button in the header is hidden
- The chat is automatically opened on mount
React Component Wrapper
Wrap the widget in a React component with proper lifecycle management:Vue Component Wrapper
Wrap the widget in a Vue 3 Composition API component:Cart Synchronization with Store
A complete example showing cart sync between the AI assistant and your store:The initial cart is loaded from your backend via the
cart_get_url webhook when a new conversation starts. See the Cart Webhook documentation for server-side setup.Custom Styling
Apply different visual themes by combining config options:Dark E-commerce Theme
Minimal Light Theme
Multi-Language Setup
Thelanguage option controls the language of widget UI text (errors, status messages):
The
language setting controls widget UI text only (errors, status messages). The AI assistant’s response language is determined by the user’s input — Ukrainian/Russian input gets Ukrainian responses, other languages get responses in that language.- 12 error codes
- 15 status codes (searching, thinking, adding to cart, etc.)
'ru') uses the Ukrainian translations.
Switching Between Inline and Floating
UsesetMode() to switch the widget between inline and floating modes without reconnecting: