Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "Update Slack bot connection instructions and images"
  • Loading branch information
RobStand authored Jun 7, 2017
commit 15eb1a38254e417571bff5b2cecaccfaca6032dc
43 changes: 13 additions & 30 deletions articles/channel-connect-slack.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,56 +21,39 @@ Log into Slack and [create a Slack application](https://api.slack.com/applicatio

![Set up bot](~/media/channels/slack-NewApp.png)

## Create application and assign a Development Slack team

Enter an App Name, and select a Development Slack Team. If you are not already a member of a Slack Team, [create or join one here](https://slack.com/)
## Create application and set redirect URI

![Create app](~/media/channels/slack-CreateApp.png)

Your App will be created, and a Client ID and Client Secret generated.

## Add a new Redirect URL

Select the **OAuth & Permissions** tab, select **Add a new Redirect URL**, enter https://slack.botframework.com then select **Add** and **Save URLs**

![Add Redirect URL](~/media/channels/slack-RedirectURL.png)

## Create a Slack Bot User

Select the **Bot Users** tab, then select **Add a Bot User**
## Create a Slack Bot

![Create bot](~/media/channels/slack-CreateBot.png)

Adding a Bot User allows you to assign a username for your bot, and choose whether it is always shown as online or not. Select **Add Bot User** to validate your settings, and then select **Save Changes**.

![Create bot](~/media/channels/slack-CreateBot-AddBotUser.png)

## Add and Configure Interactive Messages (optional)
## Add Interactive Messages (optional)

If your bot will use Slack-specific functionality such as buttons, select the **Interactive Messages** tab and enable interactive messages.
If your bot will use buttons, select the **Interactive Messages** tab and enable interactive messages.

![Enable messages](~/media/channels/slack-EnableMessages.png)

Set the Request URL for Interactive Messages to be https://slack.botframework.com/api/Actions, then select the **Enable Interactive Messages** button and **Save changes** once the URL is successfully validated.
## Configure Interactive Messages (optional)

Set the Request URL for Interactive Messages.

![Enable messages](~/media/channels/slack-MessageURL.png)

## Gather credentials
Select the **Basic Information** tab, and scroll to the **App Credentials** section. The Client ID, Client Secret and (optional) Verification Token required for configuration of your Slack bot are displayed here.
1. Select the **Add Credentials** tab
2. Copy the **Client Id** and **Client Secret**.
3. If you enabled buttons, also copy the **Verification Token for Buttons**.

![Gather credentials](~/media/channels/slack-AppCredentials.png)
![Gather credentials](~/media/channels/slack-StepAuth.png)

## Submit credentials

In a separate browser window, return to the Bot Framework site at http://dev.botframework.com/
Select **My bots**, and choose the Bot that you want to connect to Slack
In the **Add a channel** section, select the Slack icon
In the **Submit your Credentials** section, paste the App Credentials from the Slack website into the appropriate fields.
Paste the credentials you copied previously into the appropriate field.
The **Landing Page URL** is optional. You may remove or change it.

![Submit credentials](~/media/channels/slack-SubmitCredentials.png)

Click **Submit Slack Credentials**, and follow the instructions to authorize your Slack app's access to your Development Slack Team.
Click **Submit Slack Credentials**.

## Enable the bot
Check **Enable this bot on Slack**. Then click **I'm done configuring Slack**.
Expand Down
Binary file removed articles/media/channels/slack-AppCredentials.png
Binary file not shown.
Binary file not shown.
Binary file modified articles/media/channels/slack-CreateApp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified articles/media/channels/slack-CreateBot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified articles/media/channels/slack-EnableMessages.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified articles/media/channels/slack-MessageURL.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed articles/media/channels/slack-RedirectURL.png
Binary file not shown.
Binary file removed articles/media/channels/slack-SubmitCredentials.png
Binary file not shown.