> ## Documentation Index
> Fetch the complete documentation index at: https://docs.concatflow.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SDKs

> Two small libraries: one for your page, one for your server. Both typed, no dependencies.

> **[@concatflow/embed](https://docs.concatflow.com/reference/embed/overview.md)**
>
> **Browser.** Loads the assistant into your page, on either door. Includes a React component.

> **[@concatflow/node](https://docs.concatflow.com/reference/node/overview.md)**
>
> **Server.** Opens per-user sessions, reads and erases conversations, with your API key.

## Which one you need

| Door | On your page | On your server |
| - | - | - |
| Public | Two HTML tags, or `@concatflow/embed` | Nothing |
| Per-user | `@concatflow/embed`, or the script tag | `@concatflow/node`, or the [HTTP API](https://docs.concatflow.com/reference/api/overview.md) |

Not sure which door? See [Two doors](https://docs.concatflow.com/concepts.md#two-doors).

## Install

```bash npm theme={"system"}
npm install @concatflow/embed @concatflow/node
```

```bash pnpm theme={"system"}
pnpm add @concatflow/embed @concatflow/node
```

```bash yarn theme={"system"}
yarn add @concatflow/embed @concatflow/node
```

```bash bun theme={"system"}
bun add @concatflow/embed @concatflow/node
```

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`](https://www.npmjs.com/package/@concatflow/embed), [`@concatflow/node`](https://www.npmjs.com/package/@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](https://docs.concatflow.com/guides/versioning.md) and the [Changelog](https://docs.concatflow.com/reference/changelog.md).

## Another language

There is no SDK for Python, Ruby, Go or PHP yet. Your server calls the [HTTP API](https://docs.concatflow.com/reference/api/overview.md) directly: three routes, with examples in each language.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.