WhoBuilt

How to Set Up AI Assistant in Slack

Jan 24, 2025· 2 min· 386 views·Watch on YouTube

An unnamed Callstack presenter explains how to set up an AI assistant in Slack using Bolt.

Create a Slack workspace

The presenter introduces a quick setup for an AI assistant integrated with Slack. They create a workspace with Bolt, choose its name and profile details, and select the free plan.

Configure the Slack app

In Your Apps, the presenter creates an app from scratch and selects the workspace. They name the app, generate a token, add write permissions, enable Socket Mode, and install the app to the workspace.

Enable bot access and events

The presenter configures the bot so people can chat with it and gives it the needed permissions. They enable events so it can react to messages.

Run the Bolt example

After noting that the installed app does not yet do anything, the presenter clones the Bolt GitHub repository. They copy the Slack example, add tokens to a `.env` file, then run `npm install` and `npm run example` to start chatting with the assistant.

Takeaways

  • Create the Slack workspace and app before configuring the bot.
  • Enable Socket Mode and message events so the bot can connect and react.
  • Use the Bolt Slack example as a quick starting point, with your own tokens in `.env`.
  • The setup uses `npm install` and `npm run example` to launch the assistant.

Mentioned in this talk

Search inside this talk

What was claimed 2

Related talks