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

# Paylocity Onboarding & Offboarding Automation (JML)

> Automate onboarding and offboarding from Paylocity. Klef creates, updates, and deactivates accounts in Entra ID, Google Workspace, Slack, and more.

![](https://mintcdn.com/klef/Iyo8hzzr2oy1Sx_N/images/connectors/paylocity.svg?fit=max\&auto=format\&n=Iyo8hzzr2oy1Sx_N\&q=85\&s=977210a6e98e843d04c33f2fa1e93c5a)

# Paylocity

## Connection

### Setup

**Step 1**

Ask your Paylocity account team for [API credentials](https://developer.paylocity.com/integrations/docs/getting-started) with access to the **Employee Demographic API** and **Company Level Information** for your company.

**Step 2**

Enter the client ID, the client secret, and your Paylocity company ID in the connection's settings. Turn on **Testing** for credentials Paylocity issued for its testing environment.

**Step 3**

Click the **Save** button.

Cost center 1 is each employee's department. All three cost centers are organization units, typed `cost_center_1` to `cost_center_3`.

### Settings

| Setting | Required | Description |
| - | - | - |
| Client ID | Yes | Client ID of your Paylocity API credentials. |
| Client secret | Yes | Client secret of your Paylocity API credentials. |
| Company ID | Yes | The Paylocity company to read. |
| Testing | | Whether the credentials are for Paylocity's testing environment. |


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