interlocute.ai beta

Embed Chat Widget (JavaScript)

Drop a floating AI assistant onto any page with a single script tag. Customizable positioning, theming, and streaming responses out of the box.

What this solves

Add a floating chat widget to my website

JavaScript AI chat widget

Embed AI assistant on any page

Chat bubble widget for website

Frequently Asked Questions

Embed Chat Widget (JavaScript)

How does the JavaScript chat widget work?
Add a single script tag to your page. The widget renders a floating chat bubble that expands into a full conversation panel. It connects to your Interlocute node and supports streaming responses, persistent threads, and customizable theming.
What is the difference between the iframe embed and the JavaScript widget?
The iframe embed is a contained panel you place in your page layout. The JavaScript widget is a floating bubble that overlays your content and can be positioned in any corner. Both connect to the same node and support the same features.
Can I control the position and theme of the widget?
Yes. The script tag accepts configuration attributes for position (bottom-right, bottom-left, etc.), accent colour, button icon, and dark/light mode. You can also pass custom CSS variables for deeper theming.
Does the widget work on mobile?
Yes. The widget is fully responsive and touch-friendly. On small screens it expands to a near-full-screen panel for comfortable typing and reading.
Can I use the widget alongside other Interlocute features?
Absolutely. The widget talks to your node via the same API. Any features enabled on the node — RAG, memory, tool use, scheduling — are available through the widget automatically.

Ready to build?

Deploy your node in seconds and start using Embed Chat Widget (JavaScript) today.