Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Revert "Slack article update"
  • Loading branch information
RobStand authored Jun 8, 2017
commit 2a8fbe0300ba427f4241e2a6f7e1712a77c7294d
46 changes: 24 additions & 22 deletions articles/channel-connect-slack.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,41 +21,43 @@ 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 Development Slack Team, [create or join a team](https://slack.com/).
## Create application and set redirect URI

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

Completing this process creates your app and generates a Client ID and a Client Secret.
## Create a Slack Bot

## Add a new Redirect URL
![Create bot](~/media/channels/slack-CreateBot.png)

1. Select the **OAuth & Permissions** tab.
2. Select **Add a new Redirect URL**.
3. Enter https://slack.botframework.com, then click **Add**
4. Click **Save URLs**.
## Add Interactive Messages (optional)

![Add Redirect URL](~/media/channels/slack-RedirectURL.png)
If your bot will use buttons, select the **Interactive Messages** tab and enable interactive messages.

## Create a Slack Bot User
![Enable messages](~/media/channels/slack-EnableMessages.png)

Click the **Bot Users** tab and then click **Add a Bot User**.
## Configure Interactive Messages (optional)

![Create bot](~/media/channels/slack-CreateBot.png)
Set the Request URL for Interactive Messages.

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

Adding a Bot User allows you to assign a user name for your bot and choose whether it is always shown as online. Click **Add Bot User** to validate your settings, and then click **Save Changes**.
## Gather credentials
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**.

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

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

If your bot will use Slack-specific functionality such as buttons, click the **Interactive Messages** tab and enable interactive messages.
Paste the credentials you copied previously into the appropriate field.
The **Landing Page URL** is optional. You may remove or change it.

![Enable messages](~/media/channels/slack-EnableMessages.png)
Click **Submit Slack Credentials**.

## Enable the bot
Check **Enable this bot on Slack**. Then click **I'm done configuring Slack**.

When you have completed these steps, your bot will be successfully configured to communicate with users in Slack.

1. Enter the Request URL for Interactive Messages. The Request URL should be https://slack.botframework.com/api/Actions.
2. Click the **Enable Interactive Messages** button.
3. Click **Save changes** once the URL is successfully validated.

![Enable messages](~/media/channels/slack-MessageURL.png)
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.