Overview | Chat SDK (original) (raw)

Overview of Chat SDK adapters and the static adapter catalog.

Adapters connect Chat SDK to messaging platforms and state backends. Install only the adapters you need, then register them on your Chat instance.

Use the dedicated guides for adapter-specific concepts:

Ready to build your own? Follow the building guide.

The chat/adapters subpath is a static catalog of official and vendor-official adapters. It imports no adapter packages, so you can use it from setup screens, build scripts, or onboarding flows without pulling in Slack, Teams, Redis, or other platform SDKs.

import { ADAPTER_NAMES, getAdapter } from "chat/adapters";

for (const slug of ADAPTER_NAMES) {
  const adapter = getAdapter(slug);
  console.log(adapter.name, adapter.packageName, adapter.peerDeps);
}

Use the env helpers when you need to show setup instructions or inject secrets for one adapter:

import { getAdapter, getSecretEnvVars } from "chat/adapters";

const slack = getAdapter("slack");
const secrets = getSecretEnvVars("slack").map((envVar) => envVar.key);

console.log(slack.name, secrets);

The catalog intentionally covers official and vendor-official adapters. Community adapters live on the Adapters listing page.

Environment specs

Each adapter entry includes an env spec:

Types

The main CatalogAdapter metadata shape is:

Helpers