Skip to content
Dashboard

Chat SDK adds Liveblocks support

Content Engineer
import { Chat } from "chat";
import { createLiveblocksAdapter } from "@liveblocks/chat-sdk-adapter";
const bot = new Chat({
userName: "mybot",
adapters: {
liveblocks: createLiveblocksAdapter({
apiKey: "sk_...",
webhookSecret: "whsec_...",
botUserId: "my-bot-user",
botUserName: "MyBot"
}),
},
});
bot.onNewMention(async (thread, message) => {
await thread.post(`You said: ${message.text}`);
});

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

Ready to deploy?