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

# Configuring the DHL Action

[Back to Actions Integrations](https://koreai.mintlify.site/ai-for-service/integrations/overview.md#actions)

Connect the Platform to DHL to find DHL locations and track shipments. See [DHL documentation](https://developer.dhl.com/documentation) for details.

***

## Supported Authorization Types

The platform supports Basic Auth for DHL integration. See [App Authorization Overview](https://koreai.mintlify.site/ai-for-service/app-settings.md#authorization-profiles) for details.

| Authorization Type | Supported |
| - | - |
| Pre-Authorize the Integration | Yes |
| Allow Users to Authorize the Integration | Yes |

***

## Prerequisites

Before enabling the DHL action:

* Create a [DHL Developer](https://developer.dhl.com/documentation) account.
* Create a custom app on the DHL admin page.
* Copy your DHL API Key.

***

## Enable the DHL Action

Go to **App Settings > Integrations > Actions** and select **DHL** from the Available actions list.

### Pre-authorize the Integration (Basic Auth)

1. In the **Configurations** dialog, select the **Authorization** tab.

2. Set **Authorization Type** to **Pre-authorize the Integration** > **Basic Auth**.

   ![Auth type](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/dhl-action-img2.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=8ea4e668f0f65b363fd3dd0aa1265caa)

3. Enter your **API Key**.

4. Click **Enable**. On first configuration, the Integration Successful pop-up appears.

> [!NOTE]
>
> The DHL action moves from Available to Configured.

5. Click **Skip for Now** to install templates later.

   ![Skip for now](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/dhl-action-img4.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=034a91cb996355d0457c2b172fe6d583)

### Allow End Users to Authorize (Basic Auth)

1. In the **Configurations** dialog, select the **Authorization** tab.

2. Set **Authorization Type** to **Allow Users to Authorize the Integration** > **Basic Auth**.

3. Click **Select Authorization** > **Create New**.

   ![Create new auth profile](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/dhl-action-img5.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=d6868c91499eb85ec4dc1fe9510ab873)

4. Select the authorization mechanism (for example, **API Key**).

   ![Auth mechanism](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/dhl-action-img6.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=d87e010c5bd053579c9696766b79afda)

   See [App Authorization Overview](https://koreai.mintlify.site/ai-for-service/app-settings.md#authorization-profiles) for creating Basic Auth profiles.

5. Enter the following credentials:

   | Field | Description |
   | - | - |
   | Name | Name for the Basic Auth profile |
   | Tenancy URLs | Select Yes if tasks require tenancy URLs |
   | Base URL | Base tenant URL for the DHL instance |
   | Authorization Check URL | Auth check URL |
   | Description | Description of the auth profile |

   ![Auth credentials](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/dhl-action-img7.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=6a31739862569071665f9f2bcbf37576)

6. Click **Save Auth**, then select the new profile.

7. Click **Enable**. The Integration Successful pop-up appears.

***

## Install DHL Action Templates

1. On the Integration Successful dialog, click **Explore Templates**.

   ![Explore templates](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/dhl-action-img8.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=02964b46751de426a14c5fa4331acd57)

2. Click **Install** for the desired template.

   ![Begin installation](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/dhl-action-img9.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=869c0429b0eee938302c2a11a9e3dda8)

3. The associated dialog task is auto-created. Click **Go to Dialog** or navigate to **Automation AI > Use Cases > Dialogs**.

4. To use the templates, see [Using DHL Action Templates](https://koreai.mintlify.site/ai-for-service/integrations/actions/using-the-dhl-action-templates).


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