> ## 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.

# DHL Parcel DE — OAuth 2.0 (Password Grant) connector profile – StackOne setup guide

> Set up a connector profile using Parcel DE — OAuth 2.0 (Password Grant) for DHL in StackOne to allow users to link their accounts.

## Creating the DHL app

The API Key and API Secret belong to a DHL API Developer Portal app with Parcel DE Shipping, Parcel DE Returns and Parcel DE Pickup added. DHL approves sandbox access automatically and production access by hand.

**1. Name the app**

Sign in to the [DHL API Developer Portal](https://developer.dhl.com/user/login) and open **Apps**.

<ul>
  <li>Click **Create App**.</li>
  <li>**App name**: `StackOne Integration`</li>
  <li>**Description**: `Integration with StackOne`</li>
</ul>

![The Create App form with the App name and Description fields highlighted](https://mintcdn.com/stackone-60/Yr9O4gAO5viEstad/connectors/dhl/images/parcel_de_oauth2-setup-create-app-form.png?fit=max\&auto=format\&n=Yr9O4gAO5viEstad\&q=85\&s=983944c873ce26781879b7d0b28d607c)

**2. Add the APIs**

Under **SELECT APIS**, add all three APIs in the environment you will connect.

<ul>
  <li>**API's name**: `Parcel DE Shipping`</li>
  <li>Select **Parcel DE Shipping (Post & Parcel Germany)**.</li>
  <li>**Environment:** **Customer (Integration) Testing** for sandbox, or **Production (Global), Production (Europe)** for production</li>
  <li>Under **Add to app**, click **+**.</li>
  <li>Repeat for **Parcel DE Returns (Post & Parcel Germany)** in the same environment.</li>
  <li>Repeat for **Parcel DE Pickup (Post & Parcel Germany)** in the same environment. Without it, every pickup action returns 401 'no apiproduct match found'.</li>
</ul>

![The Customer (Integration) Testing environment and the + button highlighted](https://mintcdn.com/stackone-60/Yr9O4gAO5viEstad/connectors/dhl/images/parcel_de_oauth2-setup-add-api.png?fit=max\&auto=format\&n=Yr9O4gAO5viEstad\&q=85\&s=74bf8bc24622da8acfb25ff045827b76)

**3. Create the app**

Both APIs are listed under **Selected APIs:**.

<ul>
  <li>Click **Create App**.</li>
  <li>New API keys can take up to 24 hours to become active.</li>
</ul>

![The Selected APIs table and the Create App button highlighted](https://mintcdn.com/stackone-60/Yr9O4gAO5viEstad/connectors/dhl/images/parcel_de_oauth2-setup-selected-apis.png?fit=max\&auto=format\&n=Yr9O4gAO5viEstad\&q=85\&s=fa92e0ec68a1cac223022f7182e9523c)

**4. Copy the credentials**

Open the app from the **Apps** page.

<ul>
  <li>Click **STACKONE INTEGRATION**.</li>
  <li>Under **Credential**, click **Show key** next to **API Key** and next to **API Secret**.</li>
  <li>Copy the **API Key** into your Connector Profile.</li>
  <li>Copy the **API Secret** into your Connector Profile.</li>
</ul>

![The app's Credential section with both Show key links highlighted](https://mintcdn.com/stackone-60/Yr9O4gAO5viEstad/connectors/dhl/images/parcel_de_oauth2-setup-copy-credentials.png?fit=max\&auto=format\&n=Yr9O4gAO5viEstad\&q=85\&s=fa250bb5c2b9012ed19a76a80a5b9e3c)

## Create the StackOne Connector Profile

**1. Create a Connector Profile**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

**2. Link an Account**

Once the Connector Profile is created, continue to [link an account](https://docs.stackone.com/connectors/dhl/guides/link-account/parcel-de-oauth-2-0-password-grant.md).


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