# Creating a webhook URL in Slack

To generate a webhook URL, open your **Slack** and proceed with the following steps:

1. [Create your Slack app](https://api.slack.com/apps?new_app=1)— pick a name, choose a workspace to associate your app with, and click **Create App**.
2. In the opened window, select the **Incoming Webhooks** feature and click the **Activate Incoming Webhooks** toggle to switch it **ON**.
3. Once incoming webhooks are enabled, the settings page will refresh and additional options will appear. Click **Add New Webhook to Workspace**, select a channel where you want to receive notifications and confirm by clicking **Allow**.
4. **Slack** will display the webhook URL—copy and paste it into the **webhook** field (⚙ **Settings** > **Slack notifications** > **Webhook address**) in **GitProtect**.
5. Click the **Test** button to send a test message to your channel. If everything works correctly, click **Save** to proceed.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-728165ac90e4a80541c27d33d74724fd7df7bebf%2Fimage%20(983).png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Learn more about **Slack** webhooks in the official **Slack** [knowledge base article](https://api.slack.com/messaging/webhooks).
{% endhint %}
