Iframe Embed
If you don't want the floating-button script — for example, to embed the chat inside an existing panel, app shell, or full-page view — you can iframe /widget-chat directly.
URL
https://lxaira.com/widget-chat?projectId=YOUR_PROJECT_ID
Query parameters
| Parameter | Required | Description |
|---|---|---|
projectId |
yes | Your project ID. |
chatId |
no | Resume an existing conversation by ID. If omitted, a new chat is started. |
name |
no | Pre-fill the visitor's name. |
email |
no | Pre-fill the visitor's email. |
phone |
no | Pre-fill the visitor's phone. |
resume |
no | true to attempt to resume the visitor's last conversation. |
lang |
no | EN or PT. Pins the UI language. |
Minimal example
<iframe
src="https://lxaira.com/widget-chat?projectId=YOUR_PROJECT_ID"
style="width: 400px; height: 600px; border: 0;"
></iframe>
Pre-filling a known user
<iframe
src="https://lxaira.com/widget-chat?projectId=YOUR_PROJECT_ID&name=Jane&email=jane%40example.com&lang=EN"
style="width: 100%; height: 100%; border: 0;"
></iframe>
Script vs. iframe
Both modes talk to the same backend. Pick based on what you want:
- Script tag — floating button, Shadow DOM isolation, JS API, easier for marketing sites. See Widget Embed.
- Iframe — full control over size and placement, easier for embedding in apps you already own. This page.