# Slack Integration

The following is how to set up Slack to receive online/offline notifications for your devices using a webhook. We will be creating an app in Slack and configuring it to as a webhook, then use the webhook url generated by Slack in remote.it

This example assumes you already have the Slack app set up and Slack workspace (account) and a channel where these messages will be sent.&#x20;

{% hint style="info" %}
It is recommended that you have a dedicated channel to receive these messages so that you can control the message notifications.
{% endhint %}

## Create the Slack App

Please note that Slack may update their UI. If so, please refer to their documentation on how to create a new App with a webhook.

1. In a browser, go to <https://api.slack.com/apps?new_app=1>
2. Select "From Scratch"
3. Name your App and select the Slack workspace where want to send messages. Then click on "Create App"
4. Next, under "Settings" in the left nav, click on "Incoming Webhooks"
5. Activate Incoming Webhooks by switching it to "On"
6. Scroll down and click "Add a New Webhook to Workspace"
7. Select the channel you would like to receive the messages and finish.
8. Copy the webhook url. You will use this when you configure your webhook in remote.it

## Configure the webhook in remote.it

1. Open the Settings link and then Notifications tab <https://app.remote.it/#/settings/notifications>
2. Make sure the checkbox for webhook is selected, paste in the webhook url and save.

![](/files/5HZ8pL6EowZIrygA5Or6)

Congratulations! You now will be receiving notifications on your device status changes.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.remote.it/developer-tools/webhooks/slack-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
