# Setting up Slack Notifications

To get started, you should have the following Slack access:

* Ability to add Slack apps to your workspace
* Ability to add Slack apps to public channels

If you do not have these permissions, please contact your in-house Slack admin to get this access.

To add the App to your workspace, click the **Add to Slack** button below and follow the instructions.

[![Add to Slack](https://platform.slack-edge.com/img/add_to_slack.png)](https://slack.com/oauth/authorize?client_id=7428563632.282604359121\&scope=commands,channels:read,chat:write:bot)<br>

You will see the following page in a new tab:

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2FVBDPn05sFhP0FjD99pV9%2FSlack_1.png?alt=media&#x26;token=4a48f967-bae4-4e63-a19b-cf2c3b5ebcf4" alt=""><figcaption></figcaption></figure>

Click **Allow**.

If the permission is successfully granted, you will see the following:

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2FU7ALRA5J4D9sew46zMRm%2FSlack_2.png?alt=media&#x26;token=e81d77b7-1cec-4755-b6a3-f67d106725c8" alt=""><figcaption></figcaption></figure>

Open your Slack application, and create a new channel for CrossEngage Notifications.

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2F1TzoIlRfI6sVsvGkxiBK%2FSlack_3.png?alt=media&#x26;token=3b259e3d-5ec3-493a-b79d-9da34aa09701" alt=""><figcaption></figcaption></figure>

Send the following command as a message in this channel:\
\&#xNAN;**/xng connect&#x20;*****\<your\_api\_key>***&#x20;

{% hint style="info" %}
Only you can see the command you sent on the channel. This ensures that the API key is not shared.
{% endhint %}

You can find your API key in the CrossEngage Platform, under Settings -> System Setup -> API Keys. Choose your Master API key..

Once the setup is complete, you will receive a Thank You message in the Channel.

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2FzwVxCnBIghvVMKf7ymr9%2FSlack_4.png?alt=media&#x26;token=de9283a4-8e96-4ecc-9a71-1bd31fa8b345" alt=""><figcaption></figcaption></figure>

If you encounter any problems during this setup, you can write to your Customer Success Manager, or to [Customer Support](https://documentation.crossengage.io/data-and-engagement-platform/help-and-support/reach-out-to-customer-support).

{% hint style="info" %}
You can remove CrossEngage notifications from a channel by using the following command:\
\&#xNAN;**/xng disconnect&#x20;*****\<your-api-key>***
{% endhint %}
