> For the complete documentation index, see [llms.txt](https://docs.balkan.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.balkan.id/getting-started/setting-up-your-tenant/application-integrations/direct-application-integrations/paylocity-integration-setup.md). Agents can also search and read this documentation through its [MCP server](https://docs.balkan.id/~gitbook/mcp).

# Paylocity Integration Setup

{% hint style="info" %}
**Beta:** Paylocity is a newer integration. It has been tested extensively but is not yet widely adopted, so edge cases can appear. If you hit one, let BalkanID Support know.
{% endhint %}

### Getting Started

Use this guide to connect Paylocity to your BalkanID tenant. BalkanID reads your employee records from Paylocity's Web Link API, terminated employees included. You will need Web Link API credentials from Paylocity and access to the Integrations section in BalkanID. BalkanID recommends a dedicated API application, not personal-account credentials.

#### Requirements:

Before you begin, collect the following values from Paylocity:

* **Client ID**
* **Client Secret**
* **Company ID**
* **Environment** — `prod` for your production Paylocity account, or `demo` for Paylocity's testing environment

{% hint style="info" %}
This integration syncs **employee records only**. BalkanID does not extract roles, groups, or access relationships from Paylocity.
{% endhint %}

### Set up Paylocity

{% stepper %}
{% step %}

### Fill out the Web Services Access Request Form

Download and fill out Paylocity's [Web Services Access Request Form](https://docs.paylocity.com/Knowledge/Partner%20Integration/Paylocity_Web_Services_Access_Request.pdf).

On the first page:

* Fill in **Paylocity Client Details** with your company's details and Paylocity instance.
* Fill in **Development Resource** with the details of the company you are connecting to — BalkanID.
* Under **Request Type**, select **PRODUCTION**. Select **DEMO/SANDBOX** only if you are connecting a Paylocity sandbox, and then also fill in the sandbox information at the bottom of the page.

<div data-with-frame="true"><figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2Fms6uVHOynxM0X52RlRN3%2Fpaylocity-web-services-access-request-form.png?alt=media" alt="First page of the Paylocity Web Services Access Request Form with Paylocity Client Details, Development Resource and Request Type sections"><figcaption><p>Web Services Access Request Form, first page</p></figcaption></figure></div>

On the second page, **Open API Access**, select **Paylocity's legacy Web Link API endpoints**. BalkanID uses the Web Link API, not the Paylocity Developer Portal APIs.

<div data-with-frame="true"><figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2FWWQanBJbD3JbGFsSDwuY%2Fpaylocity-access-request-form-legacy-web-link.png?alt=media" alt="Open API Access page of the request form with only the Paylocity&#x27;s legacy Web Link API endpoints option checked"><figcaption><p>Web Services Access Request Form, Open API Access page</p></figcaption></figure></div>

On the third page, fill in the **Signature** section.
{% endstep %}

{% step %}

### Fill out the Legacy Endpoint Access Request Supplemental Form

The second page of the first form links to the **Legacy Endpoint Access Request Supplemental Form**. Download and fill it out.

On the first page:

* Fill in **Client Contact Information**, **Who Gets the Credentials** and **Automated Email Notifications** with your company's details.
* Under **Legacy API Access**, select **Get Employee** and choose **Restricted (No Pay Rate, Additional Rates, or SSN)**. BalkanID needs no other endpoint.

<div data-with-frame="true"><figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2FWrO7MTtN8seh2JaICMeg%2Fpaylocity-legacy-endpoint-access-form.png?alt=media" alt="Legacy Endpoint Access Request Supplemental Form with Get Employee checked and the Restricted option selected under Legacy API Access"><figcaption><p>Legacy Endpoint Access Request Supplemental Form</p></figcaption></figure></div>

On the second page, leave **Legacy Webhook Push Notifications**, **Username** and **Password** blank, and fill in the **Signature**.

{% hint style="info" %}
The example above also has **New Hire** and **Employee Update** checked. BalkanID does not need them; **Get Employee** is enough.
{% endhint %}
{% endstep %}

{% step %}

### Send both forms to Paylocity

Email both completed forms together to `webservices@paylocity.com` and ask for a Client ID and Client Secret for API access. Paylocity sends the credentials to the address you entered under **Who Gets the Credentials**. Keep both — they are your **Client ID** and **Client Secret**.

{% hint style="warning" %}
Use **Web Link API** credentials. Credentials for Paylocity's CoreHR (NextGen) API are issued separately and do not work with this integration — Paylocity rejects them and the connection fails.
{% endhint %}

{% hint style="info" %}
Paylocity may charge for API setup, and approval is not instant.
{% endhint %}
{% endstep %}

{% step %}

### Find your Company ID

Your **Company ID** is the ID you enter in **Company ID** when you sign in to Paylocity. It is also shown in the upper left corner of your Paylocity portal. If it starts with `CS`, enter only the number after it. Otherwise enter it exactly as it appears — it is case-sensitive.

<div data-with-frame="true"><figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2FDsIbvj6mtONkwmMuRnSO%2F71d2ba03-fb64-4f59-bd2a-f4547376d07f.webp?alt=media" alt="Paylocity sign-in page with the Company ID field highlighted, above the Username and Password fields"><figcaption><p>Sign in with your Company ID and Credentials</p></figcaption></figure></div>
{% endstep %}
{% endstepper %}

### Configure Paylocity within your BalkanID tenant

{% stepper %}
{% step %}

### Add the integration

In BalkanID, go to **Configure** > **Integrations** and click **Add integration**.

<div data-with-frame="true"><figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2FXbob87wTWwhQL6t9MRT5%2Fadd-integration.png?alt=media" alt="BalkanID Integrations page with the search box, tag filter and the Add integration button at the top right"><figcaption><p>Integrations page</p></figcaption></figure></div>
{% endstep %}

{% step %}

### Select Paylocity

In **Connect a new application**, search for **Paylocity**, select it, and click **Next**.

<div data-with-frame="true"><figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2FptDyzcsJ2ZXDnsIDAEUN%2Fimage.png?alt=media&#x26;token=dfb22a06-56cd-4542-b8bb-84ed631ef9bd" alt="Connect a new application dialog with Paylocity selected"><figcaption><p>Connect a New Application Page</p></figcaption></figure></div>
{% endstep %}

{% step %}

### Enter your Paylocity credentials

Add a description and select a **Primary application owner**. **Secondary application owner(s)** are optional. Under **Select Extraction Type**, keep **Direct Configuration** and enter the **Client ID**, **Client Secret** and **Company ID**. In **Environment**, leave `prod` for production, or enter `demo` for Paylocity's testing environment. Then click **Next.**

<div data-with-frame="true"><figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2FfmjbUv9gAQyNRMLJZrfL%2Fimage.png?alt=media&#x26;token=f75be824-5c9f-466f-aefd-db4abe4097d3" alt="Paylocity setup form with description, application owners and the Direct Configuration fields Client ID, Client Secret, Company ID and Environment"><figcaption><p>Initial Setup and Authentication Page</p></figcaption></figure></div>
{% endstep %}

{% step %}

### Optional Configuration

Fill **Optional Configuration**, if required.

<div data-with-frame="true"><figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2FMXasB4UzCnlRV1dqC3td%2FScreenshot%202026-11-18%20at%206.04.43%E2%80%AFPM.png?alt=media" alt="Optional Configuration step with Reviewer Order and Levels, Select Fulfillment options, Launch URL and Add Supporting Evidence"><figcaption><p>Optional Configuration Page</p></figcaption></figure></div>
{% endstep %}

{% step %}

### Save

Once you have filled in the information, click **Save**. Your integration is now configured and you will see the status of the integration displayed alongside other integrations on the Integrations page. When data is available, the integration Status column will read **Connected** and the integration Message will read **Data available**.
{% endstep %}
{% endstepper %}

### What BalkanID extracts

| Type          | From Paylocity                                                                                                                                                      |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Employees** | Every employee record, including name, work email, job title, department, employee type, hire and termination dates, employment status, work location, and manager. |

{% hint style="warning" %}
With **Restricted** access, Paylocity leaves out pay rates and SSN. The employee record can still include other personal fields, such as birth date and home address. BalkanID ignores these fields and does not store them.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.balkan.id/getting-started/setting-up-your-tenant/application-integrations/direct-application-integrations/paylocity-integration-setup.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
