Choose your integration
The standalone native inbox and hosted Chat Desk have separate backends and authentication.
The legacy
handoff prop is deprecated and ignored by the current widget; native support is
driven by server-side claims and customer polling.
Source review: October 20, 2026, workspace 1.2.13 at
1cacaaa plus local changes.
The backend reference records this scope. Qualify the
specific deployed image and browser build before relying on new session or takeover features.Configure appearance and behavior
For each setting, resolution proceeds from an inline prop, to inlinesettings, to remote
settings, then defaults. undefined, null and empty strings defer to the next source;
object settings such as availability and consent merge their fields in that order.
The UI includes keyboard navigation, direction-aware tabs, attachment previews, copy feedback,
transcript export and mobile viewport handling. Test the actual storefront with its custom
colors and content; automated accessibility checks do not replace physical-device and
screen-reader review.
Commerce records
Passrecords with the visitor’s authorized orders, products, returns, subscriptions and
exchanges. Records default to an empty object; omitting them does not inject a sample catalog.
Available-record navigation is the default. Use settings.behavior.recordNavigation: 'all'
if your integration intentionally shows every record category. Client-supplied records are
presentation data; your backend still authorizes access to customer orders.
Cart actions and attribution
cartMode: 'auto' prefers Shopify’s native storefront cart when
window.Shopify.routes.root exists; shopify_ajax and api select an explicit strategy.
The API route is POST /api/cart/add; Shopify installations can also use its
/api/shopify/cart/add alias. Backend discount application is validated against offers issued
for the authorized thread. A visible product card or a tool-result event is not confirmation
that a cart mutation succeeded.
After confirmed storefront cart changes, cartAttributionEndpoint can record a receipt at
POST /api/cart-attribution; it is inferred from messageEndpoint or apiBaseUrl when omitted.
Analytics ingestion is POST /api/analytics. Configure analyticsEndpoint: '/api/analytics'
with the API origin as analyticsBaseUrl for the bundled server; the generic client default
path is /analytics. Respect your consent policy before enabling collection.
Attachments
The current send path can encode selected files asdataUrl alongside name, type and
size. If file reading is unavailable, it can fall back to metadata. The server validates
at most five files, 10 MB each, and supported image/PDF/text/CSV types; the total chat JSON
limit is 12 MB, so base64 overhead can hit that limit before the per-file limit.
Only labels/metadata persist in browser history. After reload or switching conversations,
a failed upload may need reattachment in a new message. Provider and helpdesk handling are
separate from accepting the file on the widget API.
Server and operations
The bundled AI server includes signed widget authentication, per-thread capabilities, structured logging, memory/Redis stores, rate limiting, readiness probes, response reporting, administration and MCP. Configure these for your deployment using the deployment guide. The mock server is for local development.- Authentication and recovery: protect conversations, recover ambiguous sends, and set retention.
- Native live chat: take over, reply, write private notes and return to AI.
- Site administration: configuration versions, install snippets and MCP.
- Deployment and release checks: matching assets, Redis, reporting and rollout evidence.
Revenue capture v2
The bundle exportsbuildRevenueCapturePageContext, createRevenueCaptureMountProps and
mountRevenueCaptureWidget. These adapt a config from a compatible
GET /api/public/widget/v2/config?token=... service into mount props; they do not add that
route to the standalone AI server. The mock server’s /widget/v2/demo.html exercises the
adapter contract locally. Use the service-issued public token for that flow and keep private
service keys out of the embed.