> For the complete documentation index, see [llms.txt](https://integrations.drivetrain.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://integrations.drivetrain.ai/integration-guide/integrate-with-drivetrain/hris-and-ats/integrating-with-personio.md).

# Integrating with Personio

[Prerequisites](#prerequisites)\
[Personio Setup](#personio-setup)\
&#x20;  [Generating API Credentials](#step-1-generating-api-credentials)

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

To connect Personio to Drivetrain, you need:

1. An active Personio admin account

## Personio Setup <a href="#personio-setup" id="personio-setup"></a>

### Step 1: Generating API Credentials <a href="#step-1-generating-api-credentials" id="step-1-generating-api-credentials"></a>

1. Log in to your Personio account and click on **Settings** in the bottom left.
2. Click **API Credentials** on Integrations Tile

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

3. Click **Create Custom Integration**
4. Enter name as **"Drivetrain Integration"** and click **Next.**

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

5. Under **Select the attributes you want to grant access rights for**, select the attributes you want to sync

{% hint style="info" %}
**Important:** To ensure the integration functions accurately, the following objects must be selected:

* Employees
* Attendances
* Absences
* Custom Reports
* Org Units
  {% endhint %}

6. Under Readable employee attributes, click select all or select the individual fields you want to sync.

   Commonly used fields include:

   * Email
   * First name
   * Last Name
   * Gender
   * Hire date
   * Office
   * Profile Picture
   * Termination date
   * Status
   * Supervisor
   * Occupation type (optional)

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

7. Click Create integration once done. You will then see your API Credentials populate. Copy and save these in a secure document.

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

{% hint style="info" %}
That's it, please share the Client ID and Client Secret via a secured link or doc to your Customer Success Manager
{% 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
