# Slack

You can easily use a Slack channel as the target for your alerts. For this, you will need to create an Incoming Hook URL that can be used for delivering messages to a specific Slack channel.

Start by going to [api.slack.com](https://api.slack.com) and select an existing App or create a specific App to be used for Taskforce.sh:

<figure><img src="https://2160637802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG01zoyzHgr18e2IutZ%2Fuploads%2FSOJ5phFH2I6msbR7Aoum%2Fimage.png?alt=media&#x26;token=5c714bdb-5889-42c8-aeae-c958c86993a7" alt=""><figcaption></figcaption></figure>

Now, open your application and go to the Basic Information section and click the "Incoming Webhooks" card.

<figure><img src="https://2160637802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG01zoyzHgr18e2IutZ%2Fuploads%2FZ8nzYDnJPlxrmu4yTQ5i%2Fimage.png?alt=media&#x26;token=e453ff54-4477-4628-90d8-fd7c9d5108f6" alt=""><figcaption></figcaption></figure>

From the Incoming Webhooks you can just create a new hook for a given channel:

<figure><img src="https://2160637802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG01zoyzHgr18e2IutZ%2Fuploads%2FkONcTsgNOMRicujLHmgE%2Fimage.png?alt=media&#x26;token=abfc3df2-f0b0-4e27-8815-332386d3ee21" alt=""><figcaption></figcaption></figure>

You can then select which channel to post the alerts on:

<figure><img src="https://2160637802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG01zoyzHgr18e2IutZ%2Fuploads%2FniNT7WzvsOedR0owDfSF%2Fimage.png?alt=media&#x26;token=ff035000-344a-462a-93d1-eb02a993fcdb" alt=""><figcaption></figcaption></figure>

Your hook URL will now appear on the list of Webhook URLs

<figure><img src="https://2160637802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG01zoyzHgr18e2IutZ%2Fuploads%2FC67BOlPlJMFd9hxSSszr%2Fimage.png?alt=media&#x26;token=7d96dfae-fcd0-4ecb-836d-86aa785ccacd" alt=""><figcaption></figcaption></figure>

You can just copy the given URL and paste it into your monitor's settings:

<figure><img src="https://2160637802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG01zoyzHgr18e2IutZ%2Fuploads%2FN8Z34LaFQaPARhKz2AVw%2Fimage.png?alt=media&#x26;token=9b15238a-551e-4520-9b29-3d959710170c" alt=""><figcaption></figcaption></figure>

That's all, from now on, every time an alert is produced you will get a message on the given slack channel:

<figure><img src="https://2160637802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG01zoyzHgr18e2IutZ%2Fuploads%2FBAnNgWph3vxtWTdZPjyc%2Fimage.png?alt=media&#x26;token=16a36029-1ded-4bb2-ba5b-5d47297fbe64" alt=""><figcaption></figcaption></figure>
