Menu

Deploy Slack's Bolt.js to Vercel with @vercel/slack-bolt - Vercel
📰
0

Deploy Slack's Bolt.js to Vercel with @vercel/slack-bolt - Vercel

Vercel News·Matt Lewis·4 days ago
#8fabhvTv
#vercel#slack#agent#bolt#adapter#article
Reading 0:00
15s threshold

Chat SDK is now available, the universal chat layer for building bots and agents. Build your Slack agent with the Slack adapter now or follow the guide . We've published @vercel/slack-bolt , our official adapter for deploying Slack's Bolt for JavaScript to Vercel's AI Cloud. Bolt provides a type-safe library for responding to Slack webhook events. However, Slack's API requires a response within three seconds or users are faced with timeouts. This has made it hard to build Slack agents on traditional serverless platforms. Our adapter uses Fluid compute’s streaming and waitUntil to acknowledge responses within Slack’s deadline while your agent continues working in the background. import { App } from "@slack/bolt" ; import { generateText } from "ai" ; import { VercelReceiver , createHandler } from "@vercel/slack-bolt" ; const receiver = new VercelReceiver ( ) ; const app = new App ( { token : process . env . SLACK_BOT_TOKEN , signingSecret : process . env .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More