Buildable
Search…
Slack Bot API Key
A guide on how to create a Slack Bot and generate its API key

Step 1: Login to your Slack developer account

Login to your Workspace Settings in Slack and head to www.api.slack.com/apps.

Step 2: Create a New Slack App

Create a new app by clicking the create new app button, giving the app a name and assigning the workspace you want to use.

Step 3: Assign Bot Token Scopes

You'll need to manually assign the permissions your bot will have access to. That said, if you're looking to build Flows in Buildable that leverage a Slack service to create messages in a channel, you'll need to give it a channels: read permission.
Assign permissions according to the function you're looking to build. To help, we usually find the following permission grouping to be helpful in getting started with Slack functions Channels: read, Channels: write, Chat: write

Step 4: Install to Workspace

Once you've got permissions finalized for your token, you can install the app to your Workspace.
Whenever you make changes to the Scope of your token by adding/removing permissions, you'll need to reinstall the app to the Workspace.

Step 5: Add the Bot to a Channel in Slack

Once installed, your app is ready to go! Next, you'll want to add your bot to the appropriate channels in Slack.
To do so, simply head to the channels in Slack that you're expecting to engage with via the Flows your building in Buildable that leverage Slack nodes. For example, if you're looking to build a Flow to query net new users on your web app and notify the Customer Success team, you would head to your #customer-success channel in slack and integrate the new bot.

Step 6: Copy your API Key

At any time, you can now find and pull your Slack Bot API key in OAuth & Permissions section of your Slack App.
Last modified 3d ago