> ## 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 Globalization Partners with OAuth 2.0 – StackOne Hub

> Link a Globalization Partners account in the StackOne Hub using OAuth 2.0. End-user guide to authorize the integration and start using Globalization Partners actions.

<Warning>You must have <strong>Company Admin</strong> access on the G-P Platform and be an approved Early Adopter to create API applications. Contact your G-P representative to request access before starting.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Create a developer application</h2>

  <p>Register a new application on the G-P Developer Portal to generate a Client ID and Client Secret.</p>

  <Steps>
    <Step title="Sign in to the G-P Developer Portal">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to the <a href="https://developer.g-p.com/" target="_blank" rel="noopener noreferrer">G-P Developer Portal</a>.</p>

        <ul>
          <li>Click <strong>Log In</strong> in the upper right corner.</li>
          <li>Select <strong>Continue with SSO</strong> and authenticate with your G-P Platform credentials.</li>
        </ul>
      </div>
    </Step>

    <Step title="Open your applications">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Navigate to <strong>My applications</strong> from the user menu to open the application management page.</p>
      </div>
    </Step>

    <Step title="Create a new application">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click <strong>Create Application</strong> to open the application creation form.</p>

        <ul>
          <li>Application name: `StackOne` (or any distinctive identifier).</li>
          <li>Description: optional — describe the integration's intended use.</li>
          <li>Click <strong>Create application</strong>.</li>
        </ul>
      </div>
    </Step>

    <Step title="Copy your credentials">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>The portal displays the generated <strong>Client ID</strong> and <strong>Client secret</strong>.</p>

        <ul>
          <li>Copy both the <strong>Client ID</strong> and <strong>Client secret</strong> and store them securely for use later.</li>
          <li>This is the only time the Client secret is displayed — save it before leaving the page.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Register the required APIs</h2>

  <p>Each G-P API must be registered to your application before it can be called. Register the APIs that cover the scopes your StackOne integration needs — typically the EOR API (employees, employments, contracts, jobs, benefits, payroll, time off, customers, invoices) and the Contractor API (contractors and contractor contracts).</p>

  <Steps>
    <Step title="Register an API">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>From your application's details page, click <strong>Register an API</strong>.</p>
      </div>
    </Step>

    <Step title="Select and register each API">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Select the API to register in the right panel and click <strong>Register</strong>. Repeat for every API your integration needs.</p>

        <ul>
          <li>For EOR scopes (`eor:*`): register the <strong>EOR</strong> API.</li>
          <li>For Contractor scopes (`contractor:*`): register the <strong>Contractor</strong> API.</li>
          <li>Note: API registrations may take a few minutes to propagate before tokens reflect the new access.</li>
        </ul>
      </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>Client ID</strong></li>
        <li><strong>Client Secret</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>
