> ## 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 DHL with Supply Chain Documents — OAuth 2.0 (Password Grant) – StackOne Hub

> Link a DHL account in the StackOne Hub using Supply Chain Documents — OAuth 2.0 (Password Grant). End-user guide to authorize the integration and start using DHL actions.

> [!WARNING]
>
> Requires a DHL Supply Chain customer account.

## Setting up the service principal

The username and password are an Azure service principal that DHL grants access to your customer or business partner.

**1. Request access**

Create an Azure service principal, then request access for it as described on the [Order Status (DHL Supply Chain) page](https://developer.dhl.com/api-reference/track-and-trace-supply-chain).

<ul>
  <li>Submit the request form to the Track and Trace support team so the service principal gets access to your customer or business partner.</li>
</ul>

**2. Request Private Order Detail access**

Create a ticket with the MySupplyChain Track and Trace helpdesk.

<ul>
  <li>Select **User Creation Request**.</li>
  <li>Include the **Application (client) ID**, the app registration name, the customer name and the business partner name.</li>
</ul>

**3. Copy the credentials**

Copy the **Username** across.

<ul>
  <li>Copy the **Password** across.</li>
</ul>

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</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>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.