# Integrations

Ddosify sends alerts through three integration options: [Slack](#slack-integration), [Opsgenie](#opsgenie-integration), and [Webhook](#webhook-integration).

### Add Integration

On Ddosify, click the Integrations tab. You can see the list of integrations you have added on this page. To add a new integration, click on the **+ Add Integration** button.

<figure><img src="https://2539979715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FugegoRCn84wtxrIelgft%2Fuploads%2FU6krT78CO9WSn0GgqV0Y%2FCleanShot%202023-11-13%20at%2022.29.26.png?alt=media&#x26;token=96085a7a-ccf0-4c19-b343-5a5b6f14257b" alt=""><figcaption><p>Ddosify Integrations</p></figcaption></figure>

#### Slack Integration

Send alerting messages to your Slack channels. Ddosify uses its own Slack application for the integration.&#x20;

{% hint style="info" %}
If you use Ddosify Self-hosted EE, you can make a Slack integration for alerts. Check [docs](https://docs.ddosify.com/ddosify/self-hosted/self-hosted-slack-integration) for more.
{% endhint %}

1\) Select Slack from the left menu, give it a name and click the Make Integration button.&#x20;

<figure><img src="https://2539979715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FugegoRCn84wtxrIelgft%2Fuploads%2FKq44jUjPS22bdnKodz8f%2FCleanShot%202023-11-13%20at%2022.31.43.png?alt=media&#x26;token=622f200f-38e6-45aa-ab6b-c0f0f81d8bae" alt=""><figcaption><p>Ddosify Slack Integration</p></figcaption></figure>

2\) Ddosify application requests permission to access your Slack workspace to send notifications. Click the Allow button.&#x20;

<figure><img src="https://2539979715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FugegoRCn84wtxrIelgft%2Fuploads%2FK6pZuwlLITIZplroKApX%2FCleanShot%202023-11-13%20at%2022.32.37.png?alt=media&#x26;token=04d38791-6868-457b-9240-17a0b77ec16c" alt=""><figcaption></figcaption></figure>

3\) Select a Slack channel for notifications and click the Save Channel button. You can change the channel later.&#x20;

<figure><img src="https://2539979715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FugegoRCn84wtxrIelgft%2Fuploads%2FhT4PNaVDvuqHoNgnBKTH%2FCleanShot%202023-11-13%20at%2022.33.56.png?alt=media&#x26;token=e2d96bd7-b7dd-4789-bc40-4cf193f0ff96" alt=""><figcaption></figcaption></figure>

4\) You should see the Success message. Click the **Test Integration** button to check everything is working as expected. Ddosify will send a test message to the channel.&#x20;

<figure><img src="https://2539979715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FugegoRCn84wtxrIelgft%2Fuploads%2FxDCFcJZedsbXZapVOuP3%2FCleanShot%202023-11-13%20at%2022.35.20.png?alt=media&#x26;token=43b39dfa-a0fa-4a6d-9d7e-cefc1506e356" alt=""><figcaption></figcaption></figure>

On Slack, you should see the test message.&#x20;

<figure><img src="https://2539979715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FugegoRCn84wtxrIelgft%2Fuploads%2Fa4P2KSYCFixf6WerATx5%2FCleanShot%202023-11-13%20at%2022.36.54.png?alt=media&#x26;token=3ba5927a-1692-4f41-8b31-3c2bb0b0925f" alt=""><figcaption></figcaption></figure>

#### Opsgenie Integration

Integrate Opsgenie to manage alert escalations and on-call schedules.&#x20;

1\) Select Opsgenie from the left menu, give it a name, paste your Opsgenie API Key (Check [Opsgenie docs](https://support.atlassian.com/opsgenie/docs/api-key-management/)) and select **Notification Type** (Alert or Incident) and click the **Make Integration** button.

<figure><img src="https://2539979715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FugegoRCn84wtxrIelgft%2Fuploads%2FxkBgcXQxuwXyC2FtpZOG%2FCleanShot%202023-11-13%20at%2022.38.50.png?alt=media&#x26;token=88202977-4d1d-468d-963c-675650edbb75" alt=""><figcaption><p>Ddosify Opsgenie Integration</p></figcaption></figure>

2\) Click the **Test Integration** button to check everything is working as expected. You should see a success message if the integration is successful.

<figure><img src="https://2539979715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FugegoRCn84wtxrIelgft%2Fuploads%2FdCJLXUyyuWVoubwWJwSJ%2FCleanShot%202023-11-14%20at%2011.30.09.png?alt=media&#x26;token=1efd4918-030c-4547-96dd-4959ea576c7f" alt=""><figcaption></figcaption></figure>

#### Webhook Integration

Send a HTTP POST request when an alert occurs. For testing the webhook integration, you can use [Beeceptor](https://beeceptor.com/), [ngrok](https://ngrok.com/) or similar tools.&#x20;

1\) Select Webhook from the left menu and give it a name, URL, and Headers for Webhook integration. Ddosify sends a HTTP POST request to the URL with the given Headers and Basic Auth.&#x20;

<figure><img src="https://2539979715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FugegoRCn84wtxrIelgft%2Fuploads%2Ftt650K8wkT5wKd5rG7dg%2FCleanShot%202023-11-13%20at%2022.54.37.png?alt=media&#x26;token=2798e338-0855-420d-b833-78a58bbedbda" alt=""><figcaption><p>Ddosify Webhook Integration</p></figcaption></figure>

2\) Click the **Test Integration** button to ensure everything works as expected. You should see a success message if the integration is successful.

<figure><img src="https://2539979715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FugegoRCn84wtxrIelgft%2Fuploads%2FUUkT2FPHagzeceJL7dWy%2FCleanShot%202023-11-14%20at%2011.39.22.png?alt=media&#x26;token=717aa9e6-49bf-434a-92be-0a120cdda1a5" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
If you require assistance with Slack, Opsgenie or Webhook integration, you can join our [Discord](https://discord.com/invite/9KdnrSUZQg) or send an email to <support@ddosify.com>.
{% endhint %}
