One-line installation
Deploy the widget on any site by inserting a single script tag before closing body.
Available now
Add Lumika chat to your website with one script tag, keep conversation history synced, and control allowed domains for production safety.
What You Get
Deploy the widget on any site by inserting a single script tag before closing body.
Widget stores and reuses conversationId to keep context across page reloads.
Widget fetches previous messages and polls for new replies from assistant or manual operators.
Limit requests to trusted domains so unauthorized origins cannot call your integration.
Widget uses the same conversation and history endpoints as API integrations.
How Widget Security Works
The widget uses your integration token to authenticate conversation requests to Lumika.
The widget can continue prior conversations and retrieve assistant/customer message history by IDs.
Use domain allowlisting and deploy script from your production templates.
Widget Installation
Copy, paste, verify. Then customize from dashboard settings.
<script src="https://widget.lumika.ai/widget.js" data-integration-token="YOUR_INTEGRATION_TOKEN" ></script>
Endpoints
Website Widget integrations use these conversation endpoints internally for messaging and history sync.
/conversation/sse?integrationToken=...&textContent=...&conversationId=...?Streams the assistant response for a single user message.
/conversation/history?integrationToken=...&conversationId=...&afterId=...&limit=...?Fetches initial and incremental history with message IDs for deduplication.
Get started
Create a dedicated integration, set allowed domains, and ship the script tag to your website template.