Skip to main content

@concatflow/embed

Browser. Loads the assistant into your page, on either door. Includes a React component.

@concatflow/node

Server. Opens per-user sessions, reads and erases conversations, with your API key.

Which one you need

Not sure which door? See Two doors.

Install

Install only the one you need: @concatflow/embed in your front end, @concatflow/node in your backend.

What both have in common

  • TypeScript types included. No @types package to add.
  • ES modules only. Use import, not require.
  • No dependencies. React is an optional peer of @concatflow/embed, for @concatflow/embed/react only.
  • MIT licensed, on npm: @concatflow/embed, @concatflow/node.

Versions

Both are at 0.1.1. They do not bundle the assistant: your customers get its fixes without you upgrading. See Versioning and the Changelog.

Another language

There is no SDK for Python, Ruby, Go or PHP yet. Your server calls the HTTP API directly: three routes, with examples in each language.