# Set up Slack notifications using the discourse-chat-integration plugin

**URL:** https://meta.discourse.org/t/set-up-slack-notifications-using-the-discourse-chat-integration-plugin/66730
**Category:** Integrations
**Tags:** chat-integration, how-to
**Created:** [July 24, 2017, 4:45pm UTC](https://meta.discourse.org/t/set-up-slack-notifications-using-the-discourse-chat-integration-plugin/66730 "2017-07-24T16:45:28Z")
**Posts on this page:** 1
**Showing post:** 117

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [September 24, 2024, 8:00pm UTC](https://meta.discourse.org/t/set-up-slack-notifications-using-the-discourse-chat-integration-plugin/66730/117 "2024-09-24T20:00:52Z")

</div>

> [@gormus](#):
>
> What role does the `chat integration discourse username` play in this setup?

From the main chat integration docs ([Discourse Chat Integrations](https://meta.discourse.org/t/discourse-chat-integration/66522#securitypermissions-6)):

> [@Discourse Chat Integrations](https://meta.discourse.org/t/discourse-chat-integrations/66522/1):
>
> ## Security/Permissions
> 
> The site setting “`chat integration discourse username`” allows you to secure your notifications against leaking private information.
> 
> By default the `system` account is used, which means that there is no restriction on notifications sent. To secure your notifications you should create a non-staff user with appropriate access privileges, and enter its username in the site setting.
> 
> > [@](#):
> >
> > :philosoraptor: If you have “Slash Commands” enabled for your provider, and do not trust every member of the external “Channel”, it is absolutely essential that you set this up to avoid them having access to private categories on your forum.

I think that documentation could use some clarification. It’s been a few years since I used the plugin. From reading the doc’s Security/Permissions section, it’s not immediately clear to me how the `chat integration discourse username` setting affects the way that notifications are displayed on the chat provider.

> [@gormus](#):
>
> How does this integration affect the overall pageview quota?

It shouldn’t have an effect on the pageview quota. Discourse post data is sent to the chat provider via the API. When a message related to a Discourse post is read on the chat provider, it isn’t generating a page view on Discourse.

---

_[View the full topic](https://meta.discourse.org/t/set-up-slack-notifications-using-the-discourse-chat-integration-plugin/66730)._
