expressger.blogg.se

Slack web api
Slack web api





  • In the resulting pane, under App Credentials, locate Client ID, Client Secret, and Signing Secret.
  • Always copy and store app credentials in a safe place. You'll need the following information to add the Slack channel to your bot.
  • 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.
  • For example:Įnable sending messages to the bot by the usersĪfter you subscribe to bot events, enable users to message your bot.
  • Under Subscribe to bot events, select Add Bot User Event, then subscribe to events.
  • For Request URL, enter one of the following request URLs, where is the display name for your Azure Bot resource, without the braces.
  • In the resulting pane, toggle Enable Events to On.
  • slack web api

    Subscribe to events based on the features your bot will use in Slack.

  • In the input box, enter one of the following redirect URLs and select Add.Īfter you add the redirect URL, subscribe your app to bot events to have Slack notify your bot of user activities at the URL you specify.
  • In the resulting pane, under Redirect URLs, select Add a new Redirect URL.
  • Once the app is created, add a redirect URL to your app.
  • Review and agree to the Slack API terms of service.
  • For Pick a workspace to develop your app in, select a workspace for your app.
  • On the Name app & choose workspace page, for App Name, enter the name of your Slack application.
  • On the Create an app page, select From scratch.
  • Select Create New App, or Create an App if this is your first application.
  • Go to Your Apps panel and sign in to your Slack account.
  • You first create an application in Slack, which generates the information you need to configure the Slack channel for your bot in Azure. If you don't have access to a Slack environment, you can create a workspace.
  • Access to a Slack workspace with sufficient permissions to create and manage applications at.
  • slack web api

    A bot published to Azure that you want to connect to Slack.

    slack web api

    If you don't already have one, create a free account before you begin. For information on how to use a custom channel adapter, see Additional information. This article shows how to add a Slack channel to your bot in the Azure portal.

    slack web api

    This article describes how to create a Slack app using Slack, connect your bot to your Slack app in Azure, and test your bot in Slack. You can configure your bot to communicate with people through a Slack app.







    Slack web api