> ## 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 – StackOne Hub

> Link a EasyCruit account in the StackOne Hub using OAuth 2.0. 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.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Register a Visma Connect application</h2>

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

  <Steps>
    <Step title="Create the application">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to Visma Connect production at [https://oauth.developers.visma.com](https://oauth.developers.visma.com) (or the stage/test environment at [https://oauth.developers.stagaws.visma.com](https://oauth.developers.stagaws.visma.com)) and register a new application.</p>

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

    <Step title="Record the credentials">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Copy the generated Client ID and Client Secret and store them securely.</p>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Find your Tenant ID</h2>

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

  <Steps>
    <Step title="Locate the tenant">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Your Tenant ID is provided by EasyCruit for your organization. Contact your EasyCruit administrator if you are unsure of the value.</p>
      </div>
    </Step>
  </Steps>
</section>

<div data-whitelabel-hide>
  <h2>Linking the Account from the Hub</h2>

  <Steps>
    <Step title="Navigate to the Hub">
      Use one of the three <a href="/guides/accounts-section#linking-accounts">Linking Account Methods</a> to access the Hub.
    </Step>

    <Step title="Fill out the fields">
      Fill out the following fields using details from your provider:

      <ul>
        <li><strong>Tenant ID</strong></li>
      </ul>
    </Step>

    <Step title="Connect">
      <ul>
        <li>Click <strong>Connect</strong></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>
    </Step>
  </Steps>

  <p>If the account linking is successful, you will see the newly linked account in your <a href="/guides/accounts-section">Accounts</a> page.</p>
</div>
