Skip to content
Dashboard

Chat SDK adds PostgreSQL state adapter

import { Chat } from "chat";
import { createPostgresState } from "@chat-adapter/state-pg";
const bot = new Chat({
userName: "mybot",
adapters: {
/* ... */
},
state: createPostgresState(),
});

The Complete Guide to Chat SDK

Learn how Chat SDK works end-to-end: from core concepts to building your first bot to deploying it across Slack, Teams, and more.

Read the guide