> ## 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 Paylocity with OAuth 2.0 (Client Credentials) – StackOne Hub

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

> [!WARNING]
>
> Ensure that your Paylocity account has Admin privileges.

Select Actions to adjust the guideSome actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.

Select all
Clear

ActionScope(s)

Loading actions...No actions match your search.

Dynamic Guide URL

Copy URL

Scopes Selected

<pre role="textbox" aria-readonly="true" tabIndex="0" />

Separator

Copy scopes

## Company ID

Your Company ID is the same as the value you use to log in to your Paylocity account.

## API Credentials

To connect Paylocity with StackOne, you'll need to contact Paylocity support to obtain your API credentials.

**1. Request API Credentials from Paylocity Support**

Request API credentials from your Paylocity support contact.

<ul>
  <li>A partnership is not required; this integration will remain private only for your account</li>
  <li>For more information, visit the [Paylocity API Getting Started page](https://developer.paylocity.com/integrations/docs/getting-started)</li>
</ul>

**2. Request NextGen API Credentials**

Enables actions: Create Deduction, Create Employee Earning, Create Job Code, Delete Deduction, Delete Employee Earning By ResourceId, Delete Job Code, Get Company Information, Get Company Shifts, Get Cost Centers, Get Deduction Codes, Get Earning Codes, Get Employee, Get Employee Deduction By ResourceId, Get Employee Earning By ResourceId, Get Employee Shifts, Get Job Code, Get Job Codes, Get Open Shifts, Get Pay Frequency Codes, Get Pay Grades, Get Position Codes, Get Rate Codes, Get Tax Codes, Get Workers Compensation Codes, List Deductions, List Employee Deductions By Code, List Employee Earnings, List Employee Earnings By Code, List Employees, List Work Locations, Update Deduction, Update Employee Earning By ResourceId, Update Job Code

In your request to Paylocity support, include the requirement for NextGen API credentials. You should then receive:

<ul>
  <li>**NextGen Client ID**: The client ID for NextGen API access</li>
  <li>**NextGen Client Secret**: The client secret for NextGen API access</li>
</ul>

**3. Request WebLink API Credentials**

Enables actions: Add Local Tax, Add New Employee, Add/Update Emergency Contacts, Add/Update Non-Primary State Tax, Add/Update Primary State Tax, Get All Direct Deposit, Get All Local Taxes, Get Custom Fields, Get Employee With Benefits, Get Local Taxes By Tax Code, Get Pay Statement Details, Get Pay Statement Summary, Get Sensitive Data, List Pay Statement Details By Year And Check Date, Update Benefit Setup, Update Employee

In your request to Paylocity support, include the requirement for WebLink API credentials. You should then receive:

<ul>
  <li>**WebLink Client ID**: The client ID for WebLink API access</li>
  <li>**WebLink Client Secret**: The client secret for WebLink API access</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).

## Next Steps

> [card] [Webhooks setup](https://docs.stackone.com/connectors/paylocity/guides/webhook-setup.md)
>
> Configure receiving Events for Paylocity into StackOne.


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