# Slack Config

**URL:** <https://discuss.elastic.co/t/slack-config/120873>\
**Category:** Elasticsearch\
**Created:** [February 21, 2018, 3:20pm UTC](https://discuss.elastic.co/t/slack-config/120873 "2018-02-21T15:20:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pororo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pororo/32/27711_2.png) [@Pororo](https://discuss.elastic.co/u/Pororo)\
**Post date:** [February 21, 2018, 3:20pm UTC](https://discuss.elastic.co/t/slack-config/120873/1 "2018-02-21T15:20:05Z")

</div>

Hi, I was trying to set up the slack alerting. And I am not really sure the part that I need to put the account name in. I checked out the official website and it said we need to at minimum to specify the account name and hook url. But in the example shown right below it, it seems we do not need to fill in anything in "account" and just leave it blank.  
What I thought was ["acount" : account name]

```
xpack.notification.slack:
  account:
    monitoring:
      url: https://hooks.slack.com/services/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
```

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [February 22, 2018, 8:24am UTC](https://discuss.elastic.co/t/slack-config/120873/2 "2018-02-22T08:24:10Z")

</div>

The account name in this example is `monitoring`, which you would refer in a watch, if you have more than one account.

--Alex

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 22, 2018, 8:24am UTC](https://discuss.elastic.co/t/slack-config/120873/3 "2018-03-22T08:24:17Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
