# Platform Integrations

Integrate Sentry alerts with popular communication and incident response platforms to ensure your team receives security notifications where they work.

## Slack Integration

**Incoming Webhooks**:

1. Create Slack App or use Incoming Webhooks
2. Get webhook URL from Slack
3. Add URL to Sentry webhook configuration
4. Transform Sentry payload to Slack format

**Example Slack Message**:

```json
{
  "text": "🚨 Security Alert",
  "blocks": [
    {
      "type": "header",
      "text": {
        "type": "plain_text",
        "text": "New Breach Detected"
      }
    },
    {
      "type": "section",
      "text": {
        "type": "mrkdwn",
        "text": "*Email:* user@company.com\n*Service:* Dropbox\n*Severity:* HIGH"
      }
    },
    {
      "type": "actions",
      "elements": [
        {
          "type": "button",
          "text": {"type": "plain_text", "text": "View in Sentry"},
          "url": "https://sentry.example.com/alerts/alert_xyz789"
        }
      ]
    }
  ]
}
```

## Discord Integration

**Discord Webhooks**:

1. Create webhook in Discord channel settings
2. Copy webhook URL
3. Add to Sentry
4. Customize message formatting

**Example Discord Embed**:

```json
{
  "embeds": [{
    "title": "🛡️ Security Alert",
    "description": "New credential breach detected",
    "color": 15158332,
    "fields": [
      {"name": "Severity", "value": "HIGH", "inline": true},
      {"name": "Type", "value": "Breach", "inline": true},
      {"name": "Email", "value": "user@company.com"},
      {"name": "Service", "value": "Dropbox"}
    ],
    "timestamp": "2026-01-07T10:30:00Z"
  }]
}
```

## PagerDuty Integration

**Events API**:

1. Create PagerDuty integration
2. Get integration key
3. Send events to PagerDuty Events API
4. Map Sentry severity to PagerDuty severity

**Critical Events Only**: Configure webhook to only forward Critical severity to avoid alert fatigue.

## Custom Systems

Build custom integrations for:

* **SIEM Platforms**: Splunk, Elastic Security, QRadar
* **Ticketing Systems**: Jira, ServiceNow, Linear
* **Internal Tools**: Custom dashboards, reporting systems
* **Automation Platforms**: Zapier, n8n, Make

{% hint style="info" %}
Need help building a custom integration? Check our API documentation for detailed webhook payload schemas.
{% endhint %}
