> ## 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 ADP Workforce Now Next Generation with OAuth 2.0 (Client Credentials) – StackOne Hub

> Link a ADP Workforce Now Next Generation account in the StackOne Hub using OAuth 2.0 (Client Credentials). End-user guide to authorize the integration and start using ADP Workforce Now Next Generation actions.

> [!WARNING]
>
> Ensure you have Admin privileges for your ADP Workforce Now Next Generation account.

## Prerequisites

Before you begin, ensure you have the following requirements.

**1. Verify Admin Access and Install ADP API Central**

Admin privileges are required for ADP Marketplace, project creation, and certificate management.

<ul>
  <li>Confirm you have Admin privileges for your ADP Workforce Now Next Generation account</li>
  <li>Purchase and install [ADP API Central for ADP Workforce Now and ADP Workforce Now Next Generation](https://apps.adp.com/en-US/apps/410612) from the ADP Marketplace</li>
</ul>

## Obtaining Client ID and Client Secret

Access credentials via the ADP API Central app in your ADP account.

**1. Create a Project in ADP Central**

Log in to [ADP API Central](https://api-central.adp.com) to create your API project.

<ul>
  <li>Navigate to **Projects** in the left menu</li>
  <li>Click **Create a Project**</li>
  <li>Enter a project name and optional description</li>
  <li>Select the required use cases (at minimum, **Worker Demographics & Pay Profile (Read/Write)**)</li>
  <li>After project creation, enable additional APIs via the **API Discovery** tool within the project as needed</li>
  <li>Click **Create Project** to complete</li>
</ul>

**2. Copy Your Credentials**

Retrieve your Client ID and Client Secret from the project.

<ul>
  <li>In the project, go to the **Credentials** tab</li>
  <li>Copy your **Client ID** and **Client Secret**</li>
  <li>Store these values securely for use later</li>
</ul>

## Generating Certificate Files

Generate certificate and private key files for secure mTLS authentication.

**1. Access Certificate Management**

In your ADP Central project, click **Manage Certificate**.

**2. Generate Certificate**

Follow the steps to generate a certificate signing request (CSR).

<ul>
  <li>Refer to ADP's official guide for [Generating a Certificate Signing Request](https://developers.adp.com/learn/how-to-articles/generate-a-certificate-signing-request)</li>
  <li>Download and save the certificate (.pem) file and private key file</li>
  <li>Ensure full headers are included (e.g., `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----`)</li>
</ul>

**3. Copy Certificate and Private Key Contents**

Prepare the certificate and private key values for the connection.

<ul>
  <li>Open both files in a text editor</li>
  <li>Copy the full contents of the certificate file including BEGIN and END markers</li>
  <li>Copy the full contents of the private key file including BEGIN and END markers</li>
  <li>Store these values securely for use later</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/connect/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.