Create a Web channel
In the LiveCart console open Channels, add a Web channel, list the domains the widget may load on, and choose the AI agent that should answer.
Install the package
Add the SDK to your project.
npm install @livecarthq/web-sdkInitialise
Call init once when your app starts, with your public installation key. Use renderMode "inline" to mount inside your own layout.
import { init } from "@livecarthq/web-sdk"; const widget = init({ installationKey: "YOUR_PUBLIC_KEY", renderMode: "iframe", // or "inline" to mount inside your app });Test it
Open your site in a private window, start a chat and ask a question your knowledge base covers. The conversation appears in your LiveCart inbox.
Install with the npm SDK
For single-page apps and headless storefronts, the web SDK gives you control over when and where the widget mounts.
About 10 minutes


