# Integrate Spike with Dynatrace

### Service and Integration

Make sure to add a Dynatrace integration and copy the webhook URL.

{% content-ref url="create-integration-and-service-on-dashboard" %}
[create-integration-and-service-on-dashboard](https://docs.spike.sh/integrations-guideline/create-integration-and-service-on-dashboard)
{% endcontent-ref %}

### Using webhook with Dynatrace

#### Step 1

From your Dynatrace dashboard, navigate to > Settings > Integration > Problem notifications.

From the available options, select **custom integration.**

![](https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-a2502d6bdffae63d8e2edc86bf0c61b5dcfbe299%2Fimage.png?alt=media\&token=287aca2f-ee99-4903-aed4-0c337ce32c3a)

#### Step 2

Paste the Spike webhook URL.

![](https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-f41e4980ab053e53733a31252278c5e44b8dd87a%2Fimage.png?alt=media\&token=e0f650f5-0d5f-4531-b24d-d5b28aefb780)

Paste the following JSON payload in the **Custom payload** section of the integration.

```
{
    "State": "{State}",
    "ProblemID": "{ProblemID}",
    "PID": "{PID}",
    "ProblemTitle": "{ProblemTitle}",
    "ImpactedEntity": "{ImpactedEntity}",
    "ImpactedEntities": "{ImpactedEntities}",
    "ProblemDetailsText": "{ProblemDetailsText}",
    "ProblemSeverity": "{ProblemSeverity}",
    "ProblemURL": "{ProblemURL}"
}
```

{% hint style="success" %}
This integration auto resolves.
{% endhint %}
