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

# Dynatrace

> Integrate your application with the Dynatrace API

## 🚀 Quickstart

Connect to Dynatrace with Nango and see data flow in 2 minutes.

<Steps>
  <Step title="Create the integration">
    In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *Dynatrace*.
  </Step>

  <Step title="Authorize Dynatrace">
    Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*, then enter your Dynatrace environment ID and API token. Later, you'll let your users do the same directly from your app.
  </Step>

  <Step title="Call the Dynatrace API">
    Let's make your first request to the Dynatrace API (must have the `entities.read` scope). Replace the placeholders below with your [Environment API key](/docs/reference/backend/http-api/api-keys), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

    <Tabs>
      <Tab title="cURL">
        ```bash theme={null}
        curl "https://api.nango.dev/proxy/api/v2/entities?pageSize=5" \
          -H "Authorization: Bearer <NANGO-API-KEY>" \
          -H "Provider-Config-Key: <INTEGRATION-ID>" \
          -H "Connection-Id: <CONNECTION-ID>"
        ```
      </Tab>

      <Tab title="Node">
        Install Nango's backend SDK with `npm i @nangohq/node`. Then run:

        ```typescript theme={null}
        import { Nango } from '@nangohq/node';

        const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });

        const res = await nango.get({
            endpoint: '/api/v2/entities',
            params: { pageSize: '5' },
            providerConfigKey: '<INTEGRATION-ID>',
            connectionId: '<CONNECTION-ID>'
        });

        console.log(JSON.stringify(res.data, null, 2));
        ```
      </Tab>
    </Tabs>

    Or fetch credentials with the [Node SDK](/docs/reference/sdks/node#get-a-connection-with-credentials) or [API](/docs/reference/api/connection/get).

    ✅ You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.
  </Step>

  <Step title="Implement Nango in your app">
    Follow our [Auth implementation guide](/docs/guides/primitives/auth) to integrate Nango in your app.

    To obtain your own production credentials, follow the setup guide linked below.
  </Step>
</Steps>

## 📚 Dynatrace Integration Guides

Nango maintained guides for common use cases.

* [How do I link my Dynatrace account?](/docs/api-integrations/dynatrace/connect)\
  Learn how to generate a Dynatrace API token and connect your account

Official docs: [Dynatrace API documentation](https://docs.dynatrace.com/docs/dynatrace-api)

## 🧩 Pre-built syncs & actions for Dynatrace

Enable them in your dashboard. Extend and customize to fit your needs.

### Others

| Function name            | Description                                                                                                | Type                                           | Source code                                                                                                                      |
| ------------------------ | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| `add-problem-comment`    | Add a comment to a problem                                                                                 | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/add-problem-comment.ts)    |
| `delete-problem-comment` | Delete a problem comment                                                                                   | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/delete-problem-comment.ts) |
| `get-entity`             | Get full details (properties, tags, relationships) for a single monitored entity.                          | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/get-entity.ts)             |
| `get-metric-descriptor`  | Get the full descriptor (unit, dimensions, aggregation types) for a single metric.                         | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/get-metric-descriptor.ts)  |
| `get-problem`            | Get full details of a single problem.                                                                      | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/get-problem.ts)            |
| `get-security-problem`   | Get full details of a single security problem.                                                             | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/get-security-problem.ts)   |
| `get-slo`                | Get full details of a single SLO.                                                                          | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/get-slo.ts)                |
| `ingest-events`          | Push a custom event (info, alert, or annotation) onto one or more entities.                                | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/ingest-events.ts)          |
| `list-api-tokens`        | List API tokens configured in this environment (metadata only, not the secret values).                     | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/list-api-tokens.ts)        |
| `list-entities`          | List monitored entities (hosts, services, applications, process groups, etc.) matching an entity selector. | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/list-entities.ts)          |
| `list-entity-types`      | List all monitored entity types known to this environment with their properties and relationships schema.  | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/list-entity-types.ts)      |
| `list-events`            | List events in a time window                                                                               | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/list-events.ts)            |
| `list-metrics`           | List/search available metric keys.                                                                         | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/list-metrics.ts)           |
| `list-network-zones`     | List configured network zones.                                                                             | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/list-network-zones.ts)     |
| `list-problem-comments`  | List comments on a problem.                                                                                | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/list-problem-comments.ts)  |
| `list-problems`          | List detected problems in a time window.                                                                   | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/list-problems.ts)          |
| `list-releases`          | List software releases/deployments tracked for monitored entities.                                         | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/list-releases.ts)          |
| `list-security-problems` | List detected security vulnerabilities (Runtime Application Protection).                                   | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/list-security-problems.ts) |
| `list-settings-objects`  | List configured objects for a given Settings 2.0 schema.                                                   | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/list-settings-objects.ts)  |
| `list-settings-schemas`  | List available Settings 2.0 schema IDs                                                                     | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/list-settings-schemas.ts)  |
| `list-slos`              | List Service Level Objectives.                                                                             | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/list-slos.ts)              |
| `query-metric-data`      | Query time-series data points for one or more metrics.                                                     | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/query-metric-data.ts)      |
| `update-problem-comment` | Update the text of an existing problem comment.                                                            | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/actions/update-problem-comment.ts) |
| `entities`               | Sync monitored entities (hosts, services, applications, process groups) and their properties               | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/syncs/entities.ts)                 |
| `problems`               | Sync detected problems (Davis AI-correlated issues).                                                       | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/dynatrace/syncs/problems.ts)                 |

***
