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

# Connect Datadog with Personal Access Token – StackOne Hub

> Link a Datadog account in the StackOne Hub using Personal Access Token. End-user guide to authorize the integration and start using Datadog actions.

<Warning>You need the user\_app\_keys permission to create Personal Access Tokens.</Warning>

<Panel>
  <div className="not-prose guides-scope-selector" data-guides-scope-selector data-guide-actions-json="[{&#x22;id&#x22;:&#x22;datadog_unified_list_groups&#x22;,&#x22;label&#x22;:&#x22;List Unified Groups&#x22;,&#x22;scopes&#x22;:[&#x22;teams_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_unified_get_group&#x22;,&#x22;label&#x22;:&#x22;Get Unified Group&#x22;,&#x22;scopes&#x22;:[&#x22;teams_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_unified_list_organizations&#x22;,&#x22;label&#x22;:&#x22;List Unified Organizations&#x22;,&#x22;scopes&#x22;:[&#x22;org_management&#x22;]},{&#x22;id&#x22;:&#x22;datadog_unified_get_organization&#x22;,&#x22;label&#x22;:&#x22;Get Unified Organization&#x22;,&#x22;scopes&#x22;:[&#x22;org_management&#x22;]},{&#x22;id&#x22;:&#x22;datadog_unified_list_roles&#x22;,&#x22;label&#x22;:&#x22;List Unified Roles&#x22;,&#x22;scopes&#x22;:[&#x22;user_access_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_unified_get_role&#x22;,&#x22;label&#x22;:&#x22;Get Unified Role&#x22;,&#x22;scopes&#x22;:[&#x22;user_access_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_unified_list_users&#x22;,&#x22;label&#x22;:&#x22;List Unified Users&#x22;,&#x22;scopes&#x22;:[&#x22;user_access_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_unified_get_user&#x22;,&#x22;label&#x22;:&#x22;Get Unified User&#x22;,&#x22;scopes&#x22;:[&#x22;user_access_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_list_log_indexes&#x22;,&#x22;label&#x22;:&#x22;List Log Indexes&#x22;,&#x22;scopes&#x22;:[&#x22;logs_read_config&#x22;]},{&#x22;id&#x22;:&#x22;datadog_create_log_index&#x22;,&#x22;label&#x22;:&#x22;Create Log Index&#x22;,&#x22;scopes&#x22;:[&#x22;logs_modify_indexes&#x22;]},{&#x22;id&#x22;:&#x22;datadog_search_logs&#x22;,&#x22;label&#x22;:&#x22;Search Logs&#x22;,&#x22;scopes&#x22;:[&#x22;logs_read_data&#x22;]},{&#x22;id&#x22;:&#x22;datadog_list_logs&#x22;,&#x22;label&#x22;:&#x22;List Logs&#x22;,&#x22;scopes&#x22;:[&#x22;logs_read_data&#x22;]},{&#x22;id&#x22;:&#x22;datadog_aggregate_logs&#x22;,&#x22;label&#x22;:&#x22;Aggregate Logs&#x22;,&#x22;scopes&#x22;:[&#x22;logs_read_data&#x22;]},{&#x22;id&#x22;:&#x22;datadog_list_active_metrics&#x22;,&#x22;label&#x22;:&#x22;List Active Metrics&#x22;,&#x22;scopes&#x22;:[&#x22;metrics_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_query_metrics&#x22;,&#x22;label&#x22;:&#x22;Query Metrics&#x22;,&#x22;scopes&#x22;:[&#x22;timeseries_query&#x22;]},{&#x22;id&#x22;:&#x22;datadog_get_metric_metadata&#x22;,&#x22;label&#x22;:&#x22;Get Metric Metadata&#x22;,&#x22;scopes&#x22;:[&#x22;metrics_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_get_metric_tag_configuration&#x22;,&#x22;label&#x22;:&#x22;Get Metric Tag Configuration&#x22;,&#x22;scopes&#x22;:[&#x22;metrics_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_list_tags_by_metric&#x22;,&#x22;label&#x22;:&#x22;List Tags By Metric&#x22;,&#x22;scopes&#x22;:[&#x22;metrics_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_timeseries_query&#x22;,&#x22;label&#x22;:&#x22;Timeseries Query&#x22;,&#x22;scopes&#x22;:[&#x22;timeseries_query&#x22;]},{&#x22;id&#x22;:&#x22;datadog_scalar_query&#x22;,&#x22;label&#x22;:&#x22;Scalar Query&#x22;,&#x22;scopes&#x22;:[&#x22;timeseries_query&#x22;]},{&#x22;id&#x22;:&#x22;datadog_list_monitors&#x22;,&#x22;label&#x22;:&#x22;List Monitors&#x22;,&#x22;scopes&#x22;:[&#x22;monitors_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_get_monitor&#x22;,&#x22;label&#x22;:&#x22;Get Monitor&#x22;,&#x22;scopes&#x22;:[&#x22;monitors_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_create_monitor&#x22;,&#x22;label&#x22;:&#x22;Create Monitor&#x22;,&#x22;scopes&#x22;:[&#x22;monitors_write&#x22;]},{&#x22;id&#x22;:&#x22;datadog_update_monitor&#x22;,&#x22;label&#x22;:&#x22;Update Monitor&#x22;,&#x22;scopes&#x22;:[&#x22;monitors_write&#x22;]},{&#x22;id&#x22;:&#x22;datadog_list_service_definitions&#x22;,&#x22;label&#x22;:&#x22;List Service Definitions&#x22;,&#x22;scopes&#x22;:[&#x22;apm_service_catalog_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_get_service_definition&#x22;,&#x22;label&#x22;:&#x22;Get Service Definition&#x22;,&#x22;scopes&#x22;:[&#x22;apm_service_catalog_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_create_service_definition&#x22;,&#x22;label&#x22;:&#x22;Create Service Definition&#x22;,&#x22;scopes&#x22;:[&#x22;apm_service_catalog_write&#x22;]},{&#x22;id&#x22;:&#x22;datadog_delete_service_definition&#x22;,&#x22;label&#x22;:&#x22;Delete Service Definition&#x22;,&#x22;scopes&#x22;:[&#x22;apm_service_catalog_write&#x22;]},{&#x22;id&#x22;:&#x22;datadog_list_service_dependencies&#x22;,&#x22;label&#x22;:&#x22;List Service Dependencies&#x22;,&#x22;scopes&#x22;:[&#x22;apm_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_search_spans&#x22;,&#x22;label&#x22;:&#x22;Search Spans&#x22;,&#x22;scopes&#x22;:[&#x22;apm_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_list_spans&#x22;,&#x22;label&#x22;:&#x22;List Spans&#x22;,&#x22;scopes&#x22;:[&#x22;apm_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_aggregate_spans&#x22;,&#x22;label&#x22;:&#x22;Aggregate Spans&#x22;,&#x22;scopes&#x22;:[&#x22;apm_read&#x22;]},{&#x22;id&#x22;:&#x22;datadog_list_retention_filters&#x22;,&#x22;label&#x22;:&#x22;List Retention Filters&#x22;,&#x22;scopes&#x22;:[&#x22;apm_retention_filter_read&#x22;]}]">
    <div className="guides-scope-selector__title">Select Actions to adjust the guide</div>
    <div className="guides-scope-selector__muted guides-scope-selector__subtitle">Some actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.</div>

    <div className="guides-scope-selector__toolbar">
      <input type="text" placeholder="Search actions..." className="guides-scope-selector__input guides-scope-selector__search" data-guide-action-search />

      <button type="button" className="guides-scope-selector__quick-btn" data-guide-select-all>Select all</button>
      <button type="button" className="guides-scope-selector__quick-btn" data-guide-clear>Clear</button>
    </div>

    <div className="guides-scope-selector__list">
      <div className="guides-scope-selector__list-header">
        <div className="guides-scope-selector__list-header-spacer" />

        <div className="guides-scope-selector__list-header-action">Action</div>
        <div className="guides-scope-selector__list-header-scopes">Scope(s)</div>
      </div>

      <div className="guides-scope-selector__muted guides-scope-selector__status" data-guide-loading>Loading actions...</div>
      <div className="guides-scope-selector__muted guides-scope-selector__status" data-guide-no-results hidden>No actions match your search.</div>
    </div>

    <div className="guides-scope-selector__url-section">
      <div className="guides-scope-selector__muted guides-scope-selector__label">Dynamic Guide URL</div>

      <div className="guides-scope-selector__url-row">
        <input type="text" readOnly className="guides-scope-selector__input guides-scope-selector__url-input" data-guide-url />

        <button type="button" className="guides-scope-selector__copy-btn guides-scope-selector__copy-btn--end" data-guide-copy-url>Copy URL</button>
      </div>

      <div className="guides-scope-selector__scopes-section">
        <div className="guides-scope-selector__muted guides-scope-selector__label">Scopes Selected</div>

        <div className="guides-scope-selector__scopes-row">
          <pre className="guides-scope-selector__input guides-scope-selector__scopes-output" role="textbox" aria-readonly="true" tabIndex={0} data-guide-scopes-output />

          <div className="guides-scope-selector__muted guides-scope-selector__side-controls">
            <div className="guides-scope-selector__side-label">Separator</div>

            <select className="guides-scope-selector__input guides-scope-selector__delimiter" data-guide-scope-delimiter>
              <option value="space">Space</option>
              <option value="comma">Comma</option>
              <option value="semicolon">Semicolon</option>
              <option value="pipe">Pipe</option>
              <option value="newline">Newline</option>
            </select>

            <button type="button" className="guides-scope-selector__copy-btn" data-guide-copy-scopes>Copy scopes</button>
          </div>
        </div>
      </div>
    </div>
  </div>
</Panel>

<section data-guide-section data-guide-scopes="">
  <h2>Identify Your Datadog Site</h2>

  <p>Datadog operates across multiple regional sites. You must select the correct site that matches your organization's Datadog instance.</p>

  <Steps>
    <Step title="Determine Your Site Region">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Log in to your Datadog account for your region (for example, `https://app.datadoghq.com` for US1, or regional hosts such as `https://us3.datadoghq.com` or `https://ap1.datadoghq.com`) and check the URL in your browser to identify your site. Your browser will show either an `app.datadoghq.*` host or a regional subdomain (for example, `us3.datadoghq.com`, `us5.datadoghq.com`, `ap1.datadoghq.com`) — when connecting your account, select the corresponding `api.` host from the options below.</p>

        <ul>
          <li><strong>US1</strong> - api.datadoghq.com (most common)</li>
          <li><strong>US3</strong> - api.us3.datadoghq.com</li>
          <li><strong>US5</strong> - api.us5.datadoghq.com</li>
          <li><strong>EU</strong> - api.datadoghq.eu</li>
          <li><strong>AP1</strong> - api.ap1.datadoghq.com</li>
          <li><strong>US1-FED</strong> - api.ddog-gov.com (government)</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Create a Personal Access Token</h2>

  <p>A Personal Access Token authenticates on its own (no API key required) and inherits permissions from the user who creates it, restricted by the scopes you select. Datadog reserves API keys for telemetry submission, so the Submit Metrics action requires the API Key & Application Key method instead.</p>

  <Steps>
    <Step title="Navigate to Access Tokens">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In your Datadog dashboard, navigate to <strong>Personal Settings</strong> > <strong>Access Tokens</strong>.</p>
      </div>
    </Step>

    <Step title="Create a New Token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click the <strong>New Access Token</strong> button.</p>

        <ul>
          <li>Enter a descriptive <strong>Name</strong> for your token (e.g., "StackOne Integration").</li>
        </ul>
      </div>
    </Step>

    <Step title="Configure scopes">
      <div data-guide-step data-guide-scopes="apm_service_catalog_read,apm_service_catalog_write,apm_read,apm_retention_filter_read,logs_read_data,logs_read_config,logs_modify_indexes,metrics_read,timeseries_query,monitors_read,monitors_write,user_access_read,teams_read,org_management" data-guide-display-scopes-list="apm_service_catalog_read,apm_service_catalog_write,apm_read,apm_retention_filter_read,logs_read_data,logs_read_config,logs_modify_indexes,metrics_read,timeseries_query,monitors_read,monitors_write,user_access_read,teams_read,org_management">
        <div className="connector-guide-actions-badge" data-guide-actions-badge data-guide-actions-badge-scopes="apm_service_catalog_read,apm_service_catalog_write,apm_read,apm_retention_filter_read,logs_read_data,logs_read_config,logs_modify_indexes,metrics_read,timeseries_query,monitors_read,monitors_write,user_access_read,teams_read,org_management">
          <span>Enables actions: </span><span data-guide-actions-badge-labels>Aggregate Logs, Aggregate Spans, Create Log Index, Create Monitor, Create Service Definition, Delete Service Definition, Get Metric Metadata, Get Metric Tag Configuration, Get Monitor, Get Service Definition, Get Unified Group, Get Unified Organization, Get Unified Role, Get Unified User, List Active Metrics, List Log Indexes, List Logs, List Monitors, List Retention Filters, List Service Definitions, List Service Dependencies, List Spans, List Tags By Metric, List Unified Groups, List Unified Organizations, List Unified Roles, List Unified Users, Query Metrics, Scalar Query, Search Logs, Search Spans, Timeseries Query, Update Monitor</span>
        </div>

        <p>Click <strong>Select Scopes</strong> and enable only the scopes required for the actions you intend to use. At least one scope is required for a Personal Access Token.</p>

        <div className="connector-guide-display-scopes" data-guide-display-scopes>
          <div className="connector-guide-scopes-container connector-guide-scopes-container--scrollable">
            <ul className="not-prose connector-guide-scopes-list">
              <li data-guide-display-scope="apm_service_catalog_read">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy apm_service_catalog_read" title="Copy scope" data-copy="apm_service_catalog_read">
                  <span className="connector-guide-scope-copy__label">apm\_service\_catalog\_read</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li data-guide-display-scope="apm_service_catalog_write">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy apm_service_catalog_write" title="Copy scope" data-copy="apm_service_catalog_write">
                  <span className="connector-guide-scope-copy__label">apm\_service\_catalog\_write</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li data-guide-display-scope="apm_read">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy apm_read" title="Copy scope" data-copy="apm_read">
                  <span className="connector-guide-scope-copy__label">apm\_read</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li data-guide-display-scope="apm_retention_filter_read">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy apm_retention_filter_read" title="Copy scope" data-copy="apm_retention_filter_read">
                  <span className="connector-guide-scope-copy__label">apm\_retention\_filter\_read</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li data-guide-display-scope="logs_read_data">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy logs_read_data" title="Copy scope" data-copy="logs_read_data">
                  <span className="connector-guide-scope-copy__label">logs\_read\_data</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li data-guide-display-scope="logs_read_config">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy logs_read_config" title="Copy scope" data-copy="logs_read_config">
                  <span className="connector-guide-scope-copy__label">logs\_read\_config</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li data-guide-display-scope="logs_modify_indexes">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy logs_modify_indexes" title="Copy scope" data-copy="logs_modify_indexes">
                  <span className="connector-guide-scope-copy__label">logs\_modify\_indexes</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li data-guide-display-scope="metrics_read">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy metrics_read" title="Copy scope" data-copy="metrics_read">
                  <span className="connector-guide-scope-copy__label">metrics\_read</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li data-guide-display-scope="timeseries_query">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy timeseries_query" title="Copy scope" data-copy="timeseries_query">
                  <span className="connector-guide-scope-copy__label">timeseries\_query</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li data-guide-display-scope="monitors_read">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy monitors_read" title="Copy scope" data-copy="monitors_read">
                  <span className="connector-guide-scope-copy__label">monitors\_read</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li data-guide-display-scope="monitors_write">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy monitors_write" title="Copy scope" data-copy="monitors_write">
                  <span className="connector-guide-scope-copy__label">monitors\_write</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li data-guide-display-scope="user_access_read">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy user_access_read" title="Copy scope" data-copy="user_access_read">
                  <span className="connector-guide-scope-copy__label">user\_access\_read</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li data-guide-display-scope="teams_read">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy teams_read" title="Copy scope" data-copy="teams_read">
                  <span className="connector-guide-scope-copy__label">teams\_read</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li data-guide-display-scope="org_management">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy org_management" title="Copy scope" data-copy="org_management">
                  <span className="connector-guide-scope-copy__label">org\_management</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </Step>

    <Step title="Set Expiration">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Select an expiration date for your token.</p>

        <ul>
          <li>Minimum 24 hours, maximum 1 year.</li>
          <li>Tokens cannot be refreshed or extended. When a token expires, the connection will fail with a 403 error until a new token is created.</li>
        </ul>
      </div>
    </Step>

    <Step title="Copy the Token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Save your token. Datadog displays the token secret only once at creation time. Copy it immediately and store it securely for use later.</p>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Using a Service Access Token (Alternative)</h2>

  <p>For shared or long-lived integrations, you can use a Service Access Token instead. Service Access Tokens belong to a service account rather than an individual user, so they remain valid when team members leave the organization and can optionally be set to never expire.</p>

  <Steps>
    <Step title="Create or Select a Service Account">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Navigate to <strong>Organization Settings</strong> > <strong>Service Accounts</strong> and click on an existing service account or create a new one.</p>
      </div>
    </Step>

    <Step title="Create a Service Access Token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the service account details, under <strong>Access Tokens</strong>, click <strong>New Token</strong>. Enter a name, select the required scopes, and choose an expiration (including <strong>Never</strong> for non-expiring tokens). Save and copy the token immediately.</p>
      </div>
    </Step>
  </Steps>
</section>

<div data-whitelabel-hide>
  <h2>Linking the Account from the Hub</h2>

  <Steps>
    <Step title="Navigate to the Hub">
      Use one of the three <a href="/connect/managing-connectors/linking-accounts">Linking Account Methods</a> to access the Hub.
    </Step>

    <Step title="Fill out the fields">
      Fill out the following fields using details from your provider:

      <ul>
        <li><strong>Datadog Site</strong></li>
        <li><strong>Personal Access Token</strong></li>
      </ul>
    </Step>

    <Step title="Connect">
      <ul>
        <li>Click <strong>Connect</strong></li>
        <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
        <li>Once authorization is successful, you will see a confirmation popup</li>
      </ul>
    </Step>
  </Steps>

  <p>If the account linking is successful, you will see the newly linked account in your <a href="/gateway/concepts/linked-accounts">Accounts</a> page.</p>
</div>
