Skip to main content
Like @stripe/stripe-js, the package does not contain the assistant. It loads widget.js from Concatflow once, so your customers always get the current version. What it adds: types, validated options, and a React component.
No build step? You do not need this package. Paste the two tags from Doors. See Quickstart.

Reference

loadConcatflow()

Load widget.js once and get the Concatflow object.

Concatflow.init()

Open the assistant: door, launcher, theme, renewal.

Assistant instance

setSession, open, close, destroy.

<ConcatflowAssistant>

The React component, from @concatflow/embed/react. React 18 or later.

<concatflow-assistant>

The HTML element, for pages without JavaScript of your own.

Guides