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

# Dynatrace (OAuth) - How do I link my account?

# Overview

To authenticate with Dynatrace using OAuth, you need:

1. **Account UUID** - Your Dynatrace account identifier.
2. **Client ID** - Your Dynatrace OAuth client ID.
3. **Client Secret** - Your Dynatrace OAuth client secret.

This guide walks you through creating an OAuth client in Dynatrace and connecting your account.

### Prerequisites

* Access to [Dynatrace Account Management](https://myaccount.dynatrace.com)
* Permission to manage OAuth clients (requires Identity & access management admin rights)

### Instructions

#### Step 1: Find your account UUID

1. Go to [Dynatrace Account Management](https://myaccount.dynatrace.com).
2. If you have more than one account, select the account you want to connect.
3. Your account UUID is visible in the URL: `https://myaccount.dynatrace.com/account/home?account-uuid={accountUuid}`

#### Step 2: Create an OAuth client

1. In Account Management, go to **Identity & access management** > **OAuth clients**.

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/bXkRjxocbAzoMyko/api-integrations/dynatrace-oauth/homepage.png?fit=max&auto=format&n=bXkRjxocbAzoMyko&q=85&s=0458c3ca8961f4a8acfead0a889a6f8d" width="1917" height="644" data-path="api-integrations/dynatrace-oauth/homepage.png" />

2. Select **Create client**.
3. Fill in the form:
   * **Owner email**: the email of the user who owns the client.
   * **Description**: describe what service will use this client and why.
   * **Permissions**: select the scopes this client needs. Tokens generated by the client can only use the scopes granted here. Common scopes include:
     * `account-uac-read` / `account-uac-write` — user and group management
     * `app-engine:apps:run` — run apps on AppEngine
     * `storage:buckets:read` / `storage:logs:read` — read logs and storage
4. Select **Create client**.

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/bXkRjxocbAzoMyko/api-integrations/dynatrace-oauth/oauth_client_form.png?fit=max&auto=format&n=bXkRjxocbAzoMyko&q=85&s=190817480b0dfe8581e4b35e85727f01" width="1917" height="833" data-path="api-integrations/dynatrace-oauth/oauth_client_form.png" />

5. Copy the **Client ID** and **Client Secret** from the generated credentials dialog.

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/bXkRjxocbAzoMyko/api-integrations/dynatrace-oauth/client_credentials.png?fit=max&auto=format&n=bXkRjxocbAzoMyko&q=85&s=8062f22c3a5d85e8a289f69c5f90e32d" width="1917" height="631" data-path="api-integrations/dynatrace-oauth/client_credentials.png" />

<Note>
  The client secret is shown only once. Copy it immediately and store it in your organization's secure vault — it cannot be retrieved after you close the dialog. If lost, you must create a new client.
</Note>

#### Step 3: Enter credentials in the Connect UI

1. Open the form where you need to authenticate with Dynatrace.
2. Enter your **Account UUID**, **Client ID** and **Client Secret** in their respective fields.
3. Submit the form to authenticate.

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/bXkRjxocbAzoMyko/api-integrations/dynatrace-oauth/form.png?fit=max&auto=format&n=bXkRjxocbAzoMyko&q=85&s=724cd1b6c0c43759bf7c7df8b5df2d46" style={{maxWidth: "450px" }} width="498" height="700" data-path="api-integrations/dynatrace-oauth/form.png" />

You are now connected to Dynatrace.
