# Integrating with Paycor

[Prerequisites](#prerequisites)

[Paycor Setup](#paylocity-setup)\
&#x20;  [Step One: Login to your Paycor devlopers portal](#step-1-getting-your-company-id)\
&#x20;  [Step Two: Find your Company ID](#step-2-getting-your-client-id-and-secret)

[Drivetrain Setup](#paylocity-setup-1)\
&#x20;   [Step One: Enter company details](#step-2-getting-your-client-id-and-secret-1)

## Prerequisites

To connect Paycor to Drivetrain, you need:

* An active Paycor AppCreator account along with the below details:
  * Company ID
  * Username
  * Password
* Admin privileges in Drivetrain

{% hint style="info" %}
An AppCreator account in paycor is a special type of user account that enables to develop and manage applications that integrate with Paycor's platform. This account grants access to Paycor's Developer Portal, through which we can access Paycor APIs.&#x20;

To create an app creator account, a user generally needs to have administrator privileges within Paycor, such as Company Admin, Payroll Admin, or HR Admin
{% endhint %}

## Paycor Setup <a href="#paylocity-setup" id="paylocity-setup"></a>

Drivetrain integrates with Paycor via API with the help of an AppCreator account, below are the steps needed to perform to setup this integration in Paycor:

### Step 1: Login to Paycor Developers Portal <a href="#step-1-getting-your-company-id" id="step-1-getting-your-company-id"></a>

1. Go to [Paycor developers portal](https://developers.paycor.com) using the AppCreator account.
2. Click on “**Sign In**” in the upper-right hand corner and log in using your username and password
3. Return to the landing page at developers.paycor.com and select “**Join**”
4. Select “**Get Started**” below “**Are you an existing Paycor Client**”
5. Select the Client IDs you would like to be eligible for this App Creator account. Alternatively, select All existing and Future Clients.&#x20;

### Step 2: Find your Company ID <a href="#step-2-getting-your-client-id-and-secret" id="step-2-getting-your-client-id-and-secret"></a>

1. Click on the ☰ menu icon, then click on **Company > Departments**

<div align="left"><figure><img src="/files/7tsmUogC1X8ur6m3oOGp" alt="" width="285"><figcaption></figcaption></figure></div>

2. Retrieve your company ID from the top left. It will look something like "290180", store the company ID in any document, you will need this in next steps.

<div align="left"><figure><img src="/files/oqpsnJf5XWOIEZUJKuov" alt="" width="302"><figcaption></figcaption></figure></div>

## Drivetrain Setup <a href="#paylocity-setup" id="paylocity-setup"></a>

### Step 1: Enter company details <a href="#step-2-getting-your-client-id-and-secret" id="step-2-getting-your-client-id-and-secret"></a>

1. Login to Drivetrain and go to the data page and click on **+** icon to add a new data source.&#x20;

<figure><img src="/files/4GO073cwc6yENrEiIEzm" alt=""><figcaption></figcaption></figure>

2. Search for "Paycor" on the integrations page and enter the "Company ID" generated in [Step 2](#step-2-getting-your-client-id-and-secret)

<figure><img src="/files/yAgKD5458S75IoTlCkzQ" alt=""><figcaption></figcaption></figure>

3. Click on "Open Window" on the next screen, this will will open a new window where you have to enter the Username and Password.&#x20;

<figure><img src="/files/X2lTBJ86vUB8iWJhpejw" alt=""><figcaption></figcaption></figure>

4. Once the account is authorized, you will be redirected back to data page. You can check the dataset once the sync is finished.&#x20;


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://integrations.drivetrain.ai/integration-guide/integrate-with-drivetrain/hris-and-ats/integrating-with-paycor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
