# (Superseded) Configure Slack for Discourse Slack Plugin

**URL:** https://meta.discourse.org/t/superseded-configure-slack-for-discourse-slack-plugin/52990
**Category:** Site Management
**Tags:** how-to
**Created:** [November 17, 2016, 1:59am UTC](https://meta.discourse.org/t/superseded-configure-slack-for-discourse-slack-plugin/52990 "2016-11-17T01:59:55Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [November 17, 2016, 1:59am UTC](https://meta.discourse.org/t/superseded-configure-slack-for-discourse-slack-plugin/52990/1 "2016-11-17T01:59:55Z")

</div>

> # ⚠ This plugin is no longer supported. ⚠
> 
> Please migrate to [Discourse Chat Integrations](https://meta.discourse.org/t/chatroom-integration-plugin-discourse-chat-integration/66522)

Continuing the discussion from [The Official Discourse Slack Plugin](https://meta.discourse.org/t/the-official-discourse-slack-plugin/51412):

## Incoming Webhook

1. Go to the **[Incoming Webhooks](https://slack.com/apps/new/A0F7XDUAZ-incoming-webhooks)** configuration page for your Slack instance. Pick a channel, and click the big green “Add incoming webhook Integration” button. (You only need to do this once, even if you have multiple Discourse instances.)

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/2/9/829312991063bf09479bd52fb625637f03c02e0c.png)

**NOTE** : The “Post to Channel” setting above is not honored, and you will need to go to `<your-discourse-url>/admin/plugins/slack` once the plugin is enabled and configure the Channel you would like Discourse to post to.

 ![](https://global.discourse-cdn.com/meta/original/3X/0/9/090d7887804ce156c022163d9fc9cdfe3be6511a.png)

1. Scroll down to **Integration Settings** and copy the “Webhook URL”.

2. Go to your Discourse settings page, found at `<your-discourse-url>/admin/site_settings/category/plugins`. In the **slack outbound webhook url** field, paste the webhook URL you copied from Slack.

3. Select the **Enable checkbox** , and save all the changed settings. That’s it! You’re done!

## Slash Commands (Optional)

> 🗒 By default, every new post on your Discourse will now create a Slack message in the channel you specified in step one. To change your notification defaults, go to `/admin/plugins/slack` on your Discourse.

1. Go to `https://<your-team>.slack.com/apps/new/A0F82E8CA-slash-commands` to create a new outgoing command.

2. Enter the name of the command (eg `/discourse`) and click “Add Slash Command Integration”:

3. In the “URL” field, enter the URL that the slash command will post to: `<your-discourse-url>/slack/command`

4. Copy your API token from the “Token” field:

5. Go to your Discourse settings page, found at `<your-discourse-url>/admin/site_settings/category/plugins`. In the left-hand menu, scroll down and click “Plugins”.

6. In the “slack incoming webhook token” field, paste your API token:

7. In Slack, go to the channel you want to post notifications to, and enter the slash command you set up in step 2.

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [July 13, 2017, 5:40pm UTC](https://meta.discourse.org/t/superseded-configure-slack-for-discourse-slack-plugin/52990/2 "2017-07-13T17:40:21Z")

</div>

I just made an edit to step 1

> NOTE: The “Post to Channel” setting above is not honored, and you will need to go to /admin/plugins/slack once the plugin is enabled and configure the Channel you would like Discourse to post to.

Because this is not the first time that I’ve been tripped up by Discourse posting to the _wrong_ slack channel.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [July 13, 2017, 5:51pm UTC](https://meta.discourse.org/t/superseded-configure-slack-for-discourse-slack-plugin/52990/3 "2017-07-13T17:51:38Z")

</div>

> [@tgxworld](#):
>
> > [@](#):
> >
> > 🗒 By default, every new post on your Discourse will now create a Slack message in the channel you specified in step one. To change your notification defaults, go to /admin/plugins/slack on your Discourse.

I guess this bit should probably go as well, the default is for discourse to post to #General, regardless of what you set in step 1.

---

<div class="post-metadata">

### Author: ![Andy02](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andy02/32/119498_2.png) [@Andy02](https://meta.discourse.org/u/Andy02)
#### Post date: [August 10, 2017, 10:35am UTC](https://meta.discourse.org/t/superseded-configure-slack-for-discourse-slack-plugin/52990/4 "2017-08-10T10:35:12Z")

</div>

the guide doesn’t show where i get the webhook token from? it doesn’t show in Slack after i create the webhook

---

<div class="post-metadata">

### Author: ![Andy02](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andy02/32/119498_2.png) [@Andy02](https://meta.discourse.org/u/Andy02)
#### Post date: [August 26, 2017, 8:47pm UTC](https://meta.discourse.org/t/superseded-configure-slack-for-discourse-slack-plugin/52990/5 "2017-08-26T20:47:42Z")

</div>

.bump? i’m still not able to find the webhook token and i’m sure everyone else who has got this to work knows the answer to where i can find it. @tgxworld?

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [August 26, 2017, 9:28pm UTC](https://meta.discourse.org/t/superseded-configure-slack-for-discourse-slack-plugin/52990/6 "2017-08-26T21:28:23Z")

</div>

Are you talking about the `slack incoming webhook token`?

When you create the slash command in Slack, it’s shown in the interface. You do not need the webhook token for sending notifications.

[![](https://global.discourse-cdn.com/meta/original/3X/e/f/eff54e24ceb318eff5dc28987c53163f51a47e4e.png) ](https://global.discourse-cdn.com/meta/original/3X/e/f/eff54e24ceb318eff5dc28987c53163f51a47e4e.png)

---

<div class="post-metadata">

### Author: ![SaraDev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saradev/32/335139_2.png) [@SaraDev](https://meta.discourse.org/u/SaraDev)
#### Post date: [September 23, 2022, 7:13pm UTC](https://meta.discourse.org/t/superseded-configure-slack-for-discourse-slack-plugin/52990/7 "2022-09-23T19:13:56Z")

</div>



---

<div class="post-metadata">

### Author: ![SaraDev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saradev/32/335139_2.png) [@SaraDev](https://meta.discourse.org/u/SaraDev)
#### Post date: [September 23, 2022, 7:14pm UTC](https://meta.discourse.org/t/superseded-configure-slack-for-discourse-slack-plugin/52990/8 "2022-09-23T19:14:00Z")

</div>


