# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.spike.sh/integrations-guideline/integrate-spike-with-dynatrace.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
