Add Slack channel to DataBee BeeKeeper

Prev Next

To integrate Slack App with Azure Bot Service, follow the steps below.

Create Slack App using manifest file

  • Visit Slack Apps and log in.

  • Click Create New AppFrom a manifest.

  • Select the Slack workspace where you want to create the app and click Next.

  • Navigate to JSON tab and paste content of manifest.json file.

  • Replace {bot-name} in the request_url field with your Azure Bot’s name.

  • Review Summary and create app.

  • Select App Home.

  • In the resulting pane, in the “Show Tabs” section under the ‘Messages Tab’, enable Allow users to send Slash commands and messages from the messages tab.

Install App

  • Navigate to Install App.

  • Install the app in your workspace.

Retrieve Your Slack Bot ID

  • Under the “OAuth & Permissions” section. Generate or copy the Bot Token.

  • After generating or copying your bot token in the “OAuth & Permissions” section, go to Slack API Test Tool for auth.test.

  • Paste your bot token into the ‘provide your own token:’ field and click Test Method.  

  • In the response, find:  

    • bot_id (e.g., B082558SE5C)  

    • team_id (e.g., T0809MCG70W)  

  • Combine them as BOT_ID:TEAM_ID (e.g., B082558SE5C:T0809MCG70W) and provide that in config or env.

Save Slack Credentials

  • Navigate to Basic Information.

  • Copy the following values:

    • Client ID

    • Client Secret

    • Signing Secret

Configure in Azure

  • Open your bot in the Azure Portal.

  • Go to ChannelsSlack.

  • Enter the Slack credentials and save.

  • You will be redirected to Slack to log in.

  • Authorize the app to connect to your workspace.

  • Confirm the permissions and complete the setup.

Test the Bot

  • Test your bot in your Slack workspace by inviting it to channels or sending messages.

For additional details, refer to Microsoft Learn.