> For the complete documentation index, see [llms.txt](https://docs.midio.com/midio-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.midio.com/midio-docs/tutorial/slack-setup.md).

# Slack setup

Go to <https://api.slack.com/apps>

Click create app

<figure><img src="https://1896308808-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdFpuRAnTVYgmlCXLLou%2Fuploads%2FPeo4gHDPV3EO4N8esdL5%2FCreate%20new%20app.png?alt=media&amp;token=8744ce1d-2bae-442b-b997-4d375e0405b2" alt=""><figcaption></figcaption></figure>

Select 'From scratch'.

<figure><img src="https://1896308808-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdFpuRAnTVYgmlCXLLou%2Fuploads%2Fpsl14yMiD7x2AjFfMfE1%2FSlack_API__Applications___Slack_%F0%9F%94%8A.png?alt=media&amp;token=6ad3e329-2284-4ee8-a8e1-5ed9da7c79c0" alt=""><figcaption></figcaption></figure>

Enter a name for your app, like *midio-slack-bot*, and pick a workspace as an owner of the app.

<figure><img src="https://1896308808-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdFpuRAnTVYgmlCXLLou%2Fuploads%2FUPFR3myGFMFVrMUhHJg0%2FCreate%20app.png?alt=media&amp;token=8da8b0c4-5be0-4c54-a21b-40173eee3ebd" alt=""><figcaption></figcaption></figure>

Select your newly created app from the list, and scroll down to the **'event subscriptions'** menu item in the left menu bar.

<figure><img src="https://1896308808-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdFpuRAnTVYgmlCXLLou%2Fuploads%2FESNCRzQ691HwbgcwX0xq%2FEnable%20events.png?alt=media&amp;token=ac4cf7cb-37a2-49fb-962a-6c451b73fae1" alt=""><figcaption></figcaption></figure>

Click on the switch to enable events for this app.

A text box expecting a URL appears; we will fill in this later.

Scroll down a bit and, expand the **'Subscribe to bot events'** header.

Click the **'Add Bot User Event'** button, and select **'message.channels'**.

<figure><img src="https://1896308808-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdFpuRAnTVYgmlCXLLou%2Fuploads%2Fv3kM056LFaKr8Mhgt8SF%2FRemember%20to%20save%20changes.png?alt=media&amp;token=3bcc9855-9640-40c2-a0f6-e40d607fbe9d" alt=""><figcaption></figcaption></figure>

Remember to save your changes by clicking the **'Save changes'** button in the bottom right corner.
