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

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

> [!WARNING]
>
> Your EasyCruit user must have Visma Connect ACL enabled, and your Visma Connect application must have the EasyCruit public API integration enabled.

## Register a Visma Connect application

Create an application in Visma Connect and enable the EasyCruit public API integration to obtain a Client ID and Client Secret.

**1. Create the application**

Sign in to [Visma Connect production](https://oauth.developers.visma.com) (or the [stage/test environment](https://oauth.developers.stagaws.visma.com)) and register a new application.

<ul>
  <li>Enable the integration with the EasyCruit public API.</li>
  <li>Grant the application the required API scope (reporting read).</li>
</ul>

**2. Copy the credentials**

The **Client Secret** is shown only once. Copy the **Client ID** and **Client Secret** across.

**3. Set the scope (optional)**

Leave **Scope** empty to use the production reporting scope `easycruit-public-api:reporting:read`. For the stage/test environment, enter `easycruit-public-api-int-test:reporting:read`.

## Find your Tenant ID

The Tenant ID identifies your EasyCruit instance and is used both to obtain the access token and to scope every API request.

**1. Locate the tenant**

Your Tenant ID is provided by EasyCruit Support for your organization. Contact your EasyCruit administrator if you are unsure of the value, then copy the **Tenant ID** across.

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


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