> For the complete documentation index, see [llms.txt](https://docs.spike.sh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spike.sh/alerts/discord.md).

# Discord

Set up Spike's webhook integration to send incident and on-call alerts directly to your team's Discord channels.

<figure><img src="https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-894873e6702881da3bebd4281a0904ecd1f1a01e%2Fdiscord-alert-1.png?alt=media" alt="Incident alert on Discord from Spike"><figcaption><p>Incident alert on Discord.</p></figcaption></figure>

## How to set up

{% stepper %}
{% step %}

### Create a webhook in Discord

Navigate to your channel's **Settings** > **Integrations** and select **Webhooks**.

<figure><img src="https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-4f84bd2b2c1e408ed19e483fe091407677b823fb%2Fdiscord-create-webhook-1.png?alt=media" alt="Webhook settings in a Discord channel"><figcaption><p>Webhook settings in a Discord channel.</p></figcaption></figure>
{% endstep %}

{% step %}

### Name and copy the webhook URL

Name the webhook **Spike** and copy the URL. You can use the badge below as the avatar.

{% file src="/files/-MaByxWw7T3nNKjWl5bJ" %}
Spike badge for Discord
{% endfile %}

<figure><img src="https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-076ff95871eaa4562e24cbbbc570031227b7232e%2Fdiscord-name-copy-webhook-1.png?alt=media" alt="Naming the webhook and copying the URL"><figcaption><p>Name the webhook and copy the URL.</p></figcaption></figure>
{% endstep %}

{% step %}

### Paste the URL in Spike

Go to **Integrations**, paste the webhook URL in the Discord setup, and save.

<figure><img src="https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-4b0947256be2013dece29b1a03a8236927f7918a%2Fdiscord-paste-url-in-spike-1.png?alt=media" alt="Saving the Discord webhook URL in Spike"><figcaption><p>Paste the webhook URL in Spike integrations.</p></figcaption></figure>

{% hint style="success" %}
Once saved, Spike sends a test message to your Discord channel.
{% endhint %}
{% endstep %}

{% step %}

### Add Discord to your escalation policy

Select Discord as a step in your [escalation policy](https://app.spike.sh/escalations).

<figure><img src="https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-51dd3374f84c5edab26a0d601f87b1f7ac3a3814%2Fdiscord-escalation-policy-1.png?alt=media" alt="Discord as a step in an escalation policy"><figcaption><p>Adding Discord to an escalation policy.</p></figcaption></figure>
{% endstep %}
{% endstepper %}

## Remove a Discord channel

You can remove a Discord channel from Spike, but make sure it's not part of any active escalation policy before doing so.

{% hint style="info" %}
Discord doesn't support acknowledging or resolving incidents from the channel. Use the Spike dashboard, phone, SMS, or other alert channels to take action.
{% endhint %}
