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

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

> [!WARNING]
>
> You need access to Personio Settings > Integrations to create API credentials. Admin or appropriate permissions are required.

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

## Create a Custom Integration

Create a custom integration in your Personio account to generate API credentials.

**1. Enter Integration Info**

Sign in to Personio, then open **Settings** > **Integrations** > **API credentials**.

<ul>
  <li>Click **Create a custom integration**.</li>
  <li>**Name**: `StackOne Integration`</li>
  <li>Click **Next**.</li>
</ul>

**2. Configure Access Rights**

Enables actions: Add Project Members, Create Absence Period, Create Attendance Period, Create Compensation, Create Compensation Type, Create Employee, Create Project, Delete Absence Period, Delete Attendance Period, Delete Document, Delete Person, Delete Project, Download Document, Get Absence Balance, Get Absence Period, Get Absence Period Breakdowns, Get Absence Type, Get Application, Get Application Stage Transitions, Get Attendance Period, Get Candidate, Get Category, Get Employment, Get Job, Get Legal Entity, Get Person, Get Project, List Absence Periods, List Absence Types, List Applications, List Attendance Periods, List Candidates, List Categories, List Compensation Types, List Compensations, List Cost Centers, List Document Categories, List Documents, List Employee Attributes, List Employees, List Jobs, List Legal Entities, List Person Employments, List Project Members, List Projects, List Workplaces, Remove Project Members, Update Absence Period, Update Attendance Period, Update Document Metadata, Update Employee, Update Employment, Update Project, Upload Document

Personio sets access rights per module, with **Read** and **Write** for each. Grant the access rights listed, for example **Read** on **Employees** for `personio:persons:read`.

<ul>
  <li>Click **Create integration**.</li>
</ul>

<ul>
  <li>
    personio:persons:read
  </li>

  <li>
    personio:persons:write
  </li>

  <li>
    personio:absences:read
  </li>

  <li>
    personio:absences:write
  </li>

  <li>
    personio:attendances:read
  </li>

  <li>
    personio:attendances:write
  </li>

  <li>
    personio:compensations:read
  </li>

  <li>
    personio:compensations:write
  </li>

  <li>
    personio:documents:read
  </li>

  <li>
    personio:documents:write
  </li>

  <li>
    personio:recruiting:read
  </li>
</ul>

**3. Copy the credentials**

Copy the **Client ID** and **Client Secret** across.

<ul>
  <li>Format of the **Client ID**: `papi-xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`</li>
  <li>Click **Copy secret** to copy the **Client Secret**.</li>
  <li>Note: Personio shows the **Client Secret** only once</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/personio/guides/webhook-setup.md)
>
> Configure receiving Events for Personio into StackOne.


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