Web Widget
Two lines of JavaScript. Works on any site — React, WordPress, a raw HTML page, whatever.
How it works
- 1Copy your site's embed snippet from Settings → Channels → Web.
- 2Drop it right before </body>. Two lines.
- 3Refresh. The chat bubble shows up bottom-right.
- 4Optionally pass user info so the AI knows who's chatting.
<script>
window.LaneChat = { site_id: "sc_8a2f...1b" };
</script>
<script async src="https://lane.chat/w.js"></script>
window.LaneChat = {
site_id: "sc_8a2f...1b",
user: { id: "u_123", name: "Alex", email: "[email protected]" },
locale: "en"
};