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

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

> [!WARNING]
>
> Admin privileges are required for your CezanneHR account.

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

## Find your subdomain

Your subdomain is the first part of the web address you use to sign in to CezanneHR. Enter it into StackOne Hub.

<ul>
  <li>Format: `https://{subdomain}.cezanneondemand.com`</li>
  <li>Example: if your address is `https://w3.cezanneondemand.com`, your **Subdomain** is `w3`</li>
</ul>

## Create an authorized application

Register StackOne as an authorized application in CezanneHR. The connection acts as the service account user you choose.

**1. Create the app**

Sign in to CezanneHR at `https://{subdomain}.cezanneondemand.com`, then open **Administration** > **Security Settings** > **Authorised Applications**.

<ul>
  <li>Click **Add New**.</li>
  <li>**Name**: `StackOne Integration`</li>
  <li>**Description**: `Integration with StackOne`</li>
  <li>Click **OK**.</li>
</ul>

![The Add New Application dialog with the Name, Description and OK button highlighted](https://mintcdn.com/stackone-60/shEZUsyIRboZBeFm/connectors/cezannehr/images/custom-config-add-new-application.png?fit=max\&auto=format\&n=shEZUsyIRboZBeFm\&q=85\&s=3a3afccd41f3b0475804b618e1e09c65)

**2. Choose the service account**

On the **Application Clients** tab of the new application, choose the user the connection acts as.

<ul>
  <li>**Service Account User**: the CezanneHR user whose permissions the connection uses</li>
</ul>

![The Application Clients tab with the Service Account User field highlighted](https://mintcdn.com/stackone-60/shEZUsyIRboZBeFm/connectors/cezannehr/images/custom-config-service-account-user.png?fit=max\&auto=format\&n=shEZUsyIRboZBeFm\&q=85\&s=153eedc649a17583b068f84b0c545464)

**3. Turn on the scopes**

Enables actions: Create Absence Event, Create Benefits Record, Create Company, Create Compensation Record, Create Employee, Create Employment, Create Job, Create Organizational Unit, Delete Absence Event, Delete Benefits Record, Delete Company, Delete Compensation Record, Delete Employee, Delete Employment, Delete Job, Delete Organizational Unit, List Absence Event Details, List Absence Events, List Absence Plans, List Addresses, List Bank Details, List Benefits, List Companies, List Company Locations, List Compensation Records, List Cost Centres, List Employee Photos, List Employee Timesheet Details, List Employee Timesheets, List Employees, List Employment Contracts, List Employments, List Jobs, List Organizational Units, List Reports To Records, List Timesheet Activities, List Timesheet Plans, List Timesheet Projects, Search Compensation History, Update Absence Event, Update Benefits Record, Update Company, Update Compensation Record, Update Employee, Update Employment, Update Job, Update Organizational Unit

Open the **Application Scopes** tab.

<ul>
  <li>Turn on **Token Information**.</li>
  <li>Turn on **API read access**.</li>
  <li>Turn on **API write access**.</li>
</ul>

![The Application Scopes tab with the Token Information, API read access and API write access switches turned on](https://mintcdn.com/stackone-60/shEZUsyIRboZBeFm/connectors/cezannehr/images/custom-config-application-scopes.png?fit=max\&auto=format\&n=shEZUsyIRboZBeFm\&q=85\&s=429bc367dcb5c42b8e4b3155a3493937)

<ul>
  <li>
    [http://www.cezannehr.com/auth-scope/APIRead](http://www.cezannehr.com/auth-scope/APIRead)
  </li>

  <li>
    [http://www.cezannehr.com/auth-scope/APIWrite](http://www.cezannehr.com/auth-scope/APIWrite)
  </li>
</ul>

**4. Save and copy the credentials**

Click **Save**, then copy the **Client ID** and **Client Secret** into StackOne Hub.

<ul>
  <li>The Client Secret is only displayed once. CezanneHR hides it the next time the screen is loaded.</li>
</ul>

![The saved application showing the Client ID and Client Secret fields](https://mintcdn.com/stackone-60/shEZUsyIRboZBeFm/connectors/cezannehr/images/custom-config-client-credentials.png?fit=max\&auto=format\&n=shEZUsyIRboZBeFm\&q=85\&s=63332a2e066fe51486dd89d9b58d5b1c)

## 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/connect/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/cezannehr/guides/webhook-setup.md)
>
> Configure receiving Events for CezanneHR into StackOne.


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