> ## 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 (Multiple Companies) – StackOne Hub

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

> [!WARNING]
>
> Admin privileges are required in your CezanneHR instance to create an Authorised Application.

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.

<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 your own CezanneHR instance. An Authorised Application only works for the instance it is created in, so each CezanneHR instance that connects needs its own.

**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/oauth2-setup-add-new-application.png?fit=max\&auto=format\&n=shEZUsyIRboZBeFm\&q=85\&s=119bcab2de1c022392924db55fce2f1d)

**2. Configure sign-in**

On the **Application Clients** tab of the new application, set who can sign in and where CezanneHR sends them back.

<ul>
  <li>Check **Enable All Users**.</li>
  <li>**Allowed Callbacks (One per Line)**: the **Callback URL** StackOne shows you</li>
</ul>

![The Application Clients tab with Enable All Users and Allowed Callbacks highlighted](https://mintcdn.com/stackone-60/shEZUsyIRboZBeFm/connectors/cezannehr/images/oauth2-setup-application-clients.png?fit=max\&auto=format\&n=shEZUsyIRboZBeFm\&q=85\&s=f96066628514c0af7f007942c38b8e20)

**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/oauth2-setup-application-scopes.png?fit=max\&auto=format\&n=shEZUsyIRboZBeFm\&q=85\&s=33ac249ca75d55899c2a96b016c18f5a)

<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**.

<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/oauth2-setup-client-credentials.png?fit=max\&auto=format\&n=shEZUsyIRboZBeFm\&q=85\&s=94d79f67609199b945028abcf69eee2c)

## Authorize the connection

When you connect, CezanneHR opens its sign-in page. StackOne can only do what the account you sign in with is allowed to do in CezanneHR.

**1. Accept the request**

Sign in with the CezanneHR account the connection should act as.

<ul>
  <li>On the authorization screen, click **Accept**.</li>
</ul>

![The CezanneHR authorization screen listing the requested API access with the Accept button highlighted](https://mintcdn.com/stackone-60/shEZUsyIRboZBeFm/connectors/cezannehr/images/oauth2-config-authorize.png?fit=max\&auto=format\&n=shEZUsyIRboZBeFm\&q=85\&s=f3e7e423341eaa00971411b6792fd054)

## 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/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.