Developers
Embed the Loopwix chat in a site or app with one script, control it from JavaScript and understand keys, allowed sites and mount modes.
This section is for developers who put the Loopwix chat on a website or in an app, and control it from their own code. You do not need it to get started: a no-code admin can install the website chat by pasting one line. Come here when you want more control.
What you can do
- Embed the chat with one script tag, as a bubble, inside a page, or behind your own button. See Embed and configure the chat widget.
- Control it from JavaScript: open and close the chat, and react to replies with the JavaScript API.
- Add it to React or Next.js with the same script; see React and Next.js (beta).
- Link to a hosted chat page, and see the public endpoints the widget uses, in Hosted chat page and public widget API (beta).
- Lock it to your sites and set your Content Security Policy; see Public keys and allowed sites and CSP, cookies and privacy.
What is not available yet
Outbound webhooks, a React package (@loopwix/sdk) and a versioned public REST API are planned, not released. Webhooks, API and SDK roadmap lists what to use instead. To connect your own systems to the agent today, use REST integrations or MCP servers.
Where to start
Publish an agent first, so the widget has something to show. Then follow Embed and configure the chat widget from the top.
Files from customers
Let customers send documents, images and voice messages, set limits and handling, watch the overview and override per agent.
Embed the widget
Embed the Loopwix chat widget with one script tag, show it in a page or open it from your own button, control it from JavaScript and set your CSP.