# Slack

The Slack integration allows you to receive Chassy notifications within specified Slack channels.&#x20;

## How to enable Slack integration

You can enable the Slack integration in three steps.

### Setup slack application&#x20;

1. Visit the Slack [app management page](https://api.slack.com/apps)

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcV5BhScDoDDq48hvnDfW-I0EtkzpW1HoTooTkXMGWnCtEagdqujGY53jKe93tYQAc2mWRk7f3tNLrez26IjQx0SiY0UW2_o3tt4XHAr0XEY53z8EoeYcvPLvvParmS2OhzK8Clt3Dk9DfhkEd3M2pcIGaF?key=CrjAmK76ZdHhNlRMtvcEMw" alt="Slack app management page homescreen"><figcaption></figcaption></figure>

2. Create New Application&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXesv603A2sNs6YDoN8jWQvS1Gg9ihCoys1jVYFRDrxLRHIBxMb8aU478AtjNcGb7TzI08FVvyZYVHVHxl9aTO0CFobffo7Dmk4S2IEG2UeafnRzoDB0rLFJVUalWKAUn_dmWce2nrr_vWGOW0AlkgpNHcNA?key=CrjAmK76ZdHhNlRMtvcEMw" alt="Select &#x22;From scratch&#x22; on the dialog after clicking Create New App."><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeYPAC8lyE5Vr-DvJ0IHoLe4ya8551AfuR3Qcz3JJ-4XSZ-FidypepXlpVJwQBvXeCGss_JL3aIEBYtAMEuiRf_7kAsTHUT510c7ZHTq8-A18L3i5R3P1HCthByQSl8rR4FASu7kxVLaIXlPvA04YSWAaY?key=CrjAmK76ZdHhNlRMtvcEMw" alt="Enter the App Name and pick a workspace to develop the Chassy app in."><figcaption></figcaption></figure>

3. Go to OAuth & Permissions&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdO29Gs52Djs20ycVVLJekPivXagwGYQ6nQLMZ5YBvRrJsXeL_Knx1vFbEVlpOUhEmQ5b9_NoZprm4qvLX-b90oE-DU1qlhozMvKnsChjMhSQSQF_g1zWDgUvpRXV-Pa4WBpjxMLyvtoVrwV2aKt1IH3pKN?key=CrjAmK76ZdHhNlRMtvcEMw" alt="Select OAuth &#x26; Permissions under Features on the side navigation."><figcaption></figcaption></figure>

4. Add chat:write permission in the Scopes section of the OAuth & Permissions page

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcaE1DBaL-H8NGh2tWywcDiX1o-Y1D_v4uw3M_TsPThNAGTTPuwgnxUOETIMGtDNqctAJ_JsTt8ydxhUI-v030cdV6OuyPZ5FIHcaEBq-1uSaIQR4jR_Hay6pCof3VMonNjJUwjzxfibMHDvKund8Xv6BFC?key=CrjAmK76ZdHhNlRMtvcEMw" alt="Under the Bot Token Scopes section, add &#x22;chat:write&#x22;."><figcaption></figcaption></figure>

5. Install the application. In up to 10 minutes this application will be available.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf2bM-MCTaq4lz2eFq0xi4CrEOYRbocftRRLaz--fRMo_OxtlNq-JUon3XqTubQfV0k90nS1-FNR8KKMxg4eCIYvOzj90IiY0XiOHC2cmAQLl3jeDdUS_oTlZC7RozZD7wT02z8jaFYEDtChZPNau9xNA4B?key=CrjAmK76ZdHhNlRMtvcEMw" alt="Click on the Install button in the OAuth Tokens section."><figcaption></figcaption></figure>

6. Copy Bot User OAuth Token.&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeEngcGnfCtiMLUkZYCnepnb5S2r0PrJX9ZHe7X0mjYL3A1xkN54l4Tvy2mOfDI0W0PPH_UghAPjrxnDM6sY6Gcd1QOad8j6OEHU7zOFoABVRreSPVihew4waUYnnc6wLcjykCkTfJ2uVbasMJA0MBo5Rw?key=CrjAmK76ZdHhNlRMtvcEMw" alt="A Bot User OAuth Token should appear after installation."><figcaption></figcaption></figure>

### Enable slack integration in the Chassy platform &#x20;

1. Go to Integrations page
2. Select the Slack integration&#x20;
3. Put the Bot User OAuth Token into the token input
4. Save the token&#x20;

### Set up a notification channel

1. Go to your Slack workspace where you added your Slack application from the [Setup Slack application](https://docs.google.com/document/d/1oQ8IHmck2kC9oeRoZ1D2sE0IQYAHPu8ELJZ3B8qM9O8/edit?pli=1#heading=h.c3jr3bn1lrzq) step
2. Create a channel&#x20;
3. Add the notification application you’ve created to the channel. One of the ways to do it is to tag the application with “@” symbol, Slack will ask you about adding the application
4. Copy the channel name
5. Go to a workflow creation page or edit page
6. Put the channel name into Slack input under the “Notifications” section

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXegGPNUtwrJLtvP9dJhLFPNy1xVPSpXolm-e8EVY0R4issCnQyn5pssw2jm_MFpzhUQOZGSmOXmdCIhwZaIGwujGg2-Xi_5g5WNY4bLv2AYVzbwofo_L0mzmnP0yi0LXOP6BCd4RHud8rLeQdVrir81t5gS?key=CrjAmK76ZdHhNlRMtvcEMw" alt="When creating a workflow, put the Slack channel name under the Notifications section."><figcaption></figcaption></figure>

#### Test&#x20;

1. Run a workflow with Slack notifications channel set
2. Wait till the workflow is finished&#x20;
3. Check the slack channel that is set in the workflow notifications configuration.&#x20;

If everything is set up correctly you should be able to see a notification in your Slack channel.

## How to disable Slack integration

Disabling the Slack integration will disallow workflow notifications to be sent to your Slack channels. If this is desired, you can do so.

First, navigate to the *Integrations* panel. Clicking the *X* on the Slack integration will prompt you to confirm your action as it is destructive. Afterwards, your Slack integration will be disabled.

If you have no desire to re-enable your Slack integration, you can also delete your Slack application.
