> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allquiet.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Dynatrace

> Connect Dynatrace to All Quiet

<Info>Setup time: 3 Min</Info>

Integrate Dynatrace into All Quiet by using our custom integration.

## 1. Add Dynatrace Integration to Your All Quiet Team

### Create a Dynatrace integration

1. Click on the `Inbound Integrations` tab.
2. Click on `+ Create`.

<img className="Dynatrace_Create" src="https://mintcdn.com/allquiet/yRGxDqzYDDNPb4wy/images/dynatrace/01.png?fit=max&auto=format&n=yRGxDqzYDDNPb4wy&q=85&s=8d7faef7752537af7d63554e98171b78" width="2740" height="678" data-path="images/dynatrace/01.png" />

### Select Dynatrace as the Integration's Type

1. Enter a `Display Name` for your integration, e.g. "Dynatrace".
2. Select a `Team`.
3. Select `Dynatrace` as the integration's type.
4. Click `Create Inbound Integration`.

<img className="Dynatrace_Select" src="https://mintcdn.com/allquiet/yRGxDqzYDDNPb4wy/images/dynatrace/02.png?fit=max&auto=format&n=yRGxDqzYDDNPb4wy&q=85&s=3dc9654daf9c731d11411403eafbac8a" width="2204" height="1894" data-path="images/dynatrace/02.png" />

### Get the All Quiet webhook URL

After creating the Dynatrace integration on All Quiet, you can view and copy the webhook URL. You will require this URL in step 2 when configuring the custom integration on Dynatrace.

<img className="Dynatrace_Get" src="https://mintcdn.com/allquiet/yRGxDqzYDDNPb4wy/images/dynatrace/03.png?fit=max&auto=format&n=yRGxDqzYDDNPb4wy&q=85&s=e09d14e02ff0eb601cc8230146bb5eb0" width="2136" height="876" data-path="images/dynatrace/03.png" />

## 2. Create a custom integration on Dynatrace

Sign in to your Dynatrace Account. Then, open `Settings`. The easiest way to get there is to use the search (cmd+k).

1. Search for "Settings"
2. Click on the search result.

<img className="Dynatrace_Search" src="https://mintcdn.com/allquiet/D1e9B8-bvRRd-3lb/images/dynatrace/04.png?fit=max&auto=format&n=D1e9B8-bvRRd-3lb&q=85&s=5e9566b91f348d31348f1982091c2393" width="1844" height="1552" data-path="images/dynatrace/04.png" />

1. In the sitenav, scroll down and open `Integration`.
2. Select `Problem notifications`.

<img className="Dynatrace_Find_Problem_notifications" src="https://mintcdn.com/allquiet/D1e9B8-bvRRd-3lb/images/dynatrace/05.png?fit=max&auto=format&n=D1e9B8-bvRRd-3lb&q=85&s=5e94c5bef1ae897e87c0affe3494818f" width="1656" height="1612" data-path="images/dynatrace/05.png" />

`Add notification`

<img className="Dynatrace_Add_Problem_Notification" src="https://mintcdn.com/allquiet/D1e9B8-bvRRd-3lb/images/dynatrace/06.png?fit=max&auto=format&n=D1e9B8-bvRRd-3lb&q=85&s=c59b75d80f9481e557b38317e46d0f3c" width="3386" height="1324" data-path="images/dynatrace/06.png" />

It's time to define the integration in Dynatrace.

1. Select `Custom Integration`
2. Select a `Display name`, e.g. "All Quiet"
3. Paste in the All Quiet webhook URL you've obtained in step [Get The All Quiet Webhook URL](/integrations/inbound/dynatrace#get-the-all-quiet-webhook-url).
4. Select `Call webhook if problem is closed` toggle.
5. Paste the following JSON snippet into the `Custom Payload` field:

```
{
"NamesOfImpactedEntities": "{NamesOfImpactedEntities}",
"PID": "{PID}",
"ProblemDetailsText": "{ProblemDetailsText}",
"ProblemID": "{ProblemID}",
"ProblemImpact": "{ProblemImpact}",
"ProblemSeverity": "{ProblemSeverity}",
"ProblemTitle": "{ProblemTitle}",
"ProblemURL": "{ProblemURL}",
"State": "{State}"
}
```

6. As Alerting Profile, select `Default`
7. Send test notification.

<img className="Dynatrace_Configure_Problem_Notification" src="https://mintcdn.com/allquiet/D1e9B8-bvRRd-3lb/images/dynatrace/07.png?fit=max&auto=format&n=D1e9B8-bvRRd-3lb&q=85&s=31136ea3b87adaf26cc6f0e7fc8f80a8" width="2699" height="2788" data-path="images/dynatrace/07.png" />

1. You'll receive a feedback if the test was successful.
2. `Save changes` to save your All Quiet integration in Dynatrace.

<img className="Dynatrace_Save_Problem_Notification" src="https://mintcdn.com/allquiet/D1e9B8-bvRRd-3lb/images/dynatrace/08.png?fit=max&auto=format&n=D1e9B8-bvRRd-3lb&q=85&s=1cf63c73d113a4fcc50b6da82246883e" width="2440" height="1454" data-path="images/dynatrace/08.png" />

Returning to the All Quiet Web App, you will find the Dynatrace test notification on /app/incidents.

<img className="Dynatrace_Test_Notification" src="https://mintcdn.com/allquiet/yRGxDqzYDDNPb4wy/images/dynatrace/09.png?fit=max&auto=format&n=yRGxDqzYDDNPb4wy&q=85&s=35db44762fce977640c8b1ce9f7ab9d4" width="3952" height="456" data-path="images/dynatrace/09.png" />

<Check>Dynatrace is now successfully integrated with All Quiet. To test if everything works as expected you can interact with any problem in Dynatrace, e.g. close an existing problem.</Check>

### Adjust Payload Mapping

Looking to customize the fields of your incidents by adjusting the pre-built payload mapping? Simply head over to the “Payload” tab within your integration and make the necessary edits to the mapping. For detailed guidance, you may check out our [payload mapping documentation](/essentials/inbound#how-does-attribute-mapping-work).

<Tip>Using our Terraform provider? [Download](https://allquiet.app/api/integrations/terraform/default/Dynatrace.tf) the default mapping of the `allquiet_integration_mapping` resource for the Dynactrace integration. Simply copy the syntax to your .tf file and tailor the resource to your team's needs!</Tip>
