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

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

> [!WARNING]
>
> Signing in to the G-P Developer Portal uses your organization's single sign-on (SSO) provider. Create the application in the same G-P environment you plan to connect — credentials differ per environment, and Sandbox credentials only work against the Sandbox API.

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

## Creating an API application

Applications on the G-P Developer Portal issue the Client ID and Client Secret that authorize API access. Credentials are not available on the G-P Platform itself.

**1. Sign in to G-P**

Sign in to the G-P Developer Portal for the environment you are connecting.

<ul>
  <li>**Production**: [G-P Developer Portal](https://developer.g-p.com/)</li>
  <li>**Sandbox**: [G-P Sandbox Developer Portal](https://developer-demo.g-p.dev/)</li>
  <li>**Test**: [G-P Test Developer Portal](https://developer-test.g-p.dev/)</li>
  <li>**Dev**: [G-P Dev Developer Portal](https://developer-integration.g-p.dev/)</li>
</ul>

![The developer portal log in card with the Continue with SSO button highlighted](https://mintcdn.com/stackone-60/069lJbFtqI7H18xz/connectors/globalizationpartners/images/custom-config-sign-in.png?fit=max\&auto=format\&n=069lJbFtqI7H18xz\&q=85\&s=771bddf6a1a1ef389990295a940a3184)

**2. Start a new application**

Open the account menu in the upper right corner and select **Applications**. On the **Applications** page, click **New application** to open the **Create an Application** form.

![The Applications page with the New application button highlighted](https://mintcdn.com/stackone-60/069lJbFtqI7H18xz/connectors/globalizationpartners/images/custom-config-new-application.png?fit=max\&auto=format\&n=069lJbFtqI7H18xz\&q=85\&s=ebde8df779cbc604878de2c8c40fffed)

**3. Enter the application details**

Complete the **Create an Application** form.

<ul>
  <li>**Application name**: a name for the integration, for example `StackOne Integration`</li>
  <li>**Auth strategy**: the strategy for the environment you are connecting, for example **G-P Auth Strategy Test** for Test. A portal that serves two environments lists one strategy for each.</li>
  <li>The **Available scopes** field appears once an auth strategy is selected.</li>
</ul>

![The Create an Application form with the Application name field and the open Auth strategy list highlighted](https://mintcdn.com/stackone-60/Ww88Yu3zW3D344Sr/connectors/globalizationpartners/images/custom-config-application-details.png?fit=max\&auto=format\&n=Ww88Yu3zW3D344Sr\&q=85\&s=637eafb0847e22b489bd9ec8307ad070)

**4. Select the application scopes**

Enables actions: Fetch Contract Amendments, Get Change Request, Get Contract, Get Contractor, Get Contractor Contract, Get Current Payroll, Get Customer, Get Employee, Get Employment, Get Employment Compensation, Get Invoice, Get Payroll History, Get Time Off Allowance, List Benefit Enrollments, List Benefit Entitlements, List Change Requests, List Contractor Contracts, List Contractors, List Employees, List Employments, List Invoices, List Jobs, List Time Off Allowances, Submit Change Request

Open **Available scopes** and select every scope in the list. Use **Filter...** to find each scope, and select the scopes one at a time.

![The Available scopes dropdown open with the list of selectable scopes highlighted](https://mintcdn.com/stackone-60/Ww88Yu3zW3D344Sr/connectors/globalizationpartners/images/custom-config-select-scopes.png?fit=max\&auto=format\&n=Ww88Yu3zW3D344Sr\&q=85\&s=9a03e2d8ba0db782b929f94958cf53d6)

<ul>
  <li>
    eor:employee:read
  </li>

  <li>
    eor:employment:read
  </li>

  <li>
    eor:contract:read
  </li>

  <li>
    eor:job:read
  </li>

  <li>
    eor:benefit:read
  </li>

  <li>
    eor:payroll:read
  </li>

  <li>
    eor:timeoff:read
  </li>

  <li>
    eor:customer:read
  </li>

  <li>
    eor:invoice:read
  </li>

  <li>
    eor:changerequest:read
  </li>

  <li>
    eor:changerequest:write
  </li>

  <li>
    contractor:contractor:read
  </li>

  <li>
    contractor:contract:read
  </li>
</ul>

**5. Copy the credentials**

Click **Create application**. The **Application created successfully** dialog displays the credentials for the new application.

<ul>
  <li>**Client ID**: the public identifier of the application. Click the copy icon beside it and copy the **Client ID** across.</li>
  <li>**Client secret**: the confidential key that authorizes the application. Click the copy icon beside it and copy the **Client Secret** across.</li>
  <li>The client secret is only shown once.</li>
  <li>Click **Copy secret and close** to dismiss the dialog.</li>
</ul>

![The Application created successfully dialog with the copy icons for Client ID and Client secret highlighted and the values masked](https://mintcdn.com/stackone-60/Ww88Yu3zW3D344Sr/connectors/globalizationpartners/images/custom-config-copy-credentials.png?fit=max\&auto=format\&n=Ww88Yu3zW3D344Sr\&q=85\&s=76eb195fad5ea5bf253056bb4fe7ca8b)

## Registering the G-P APIs

An application cannot call an API until that API is registered to it. Register the API sets that cover the scopes you selected.

**1. Register the EOR and Contractor APIs**

On the page of the application you just created, open the **APIs** tab and click **Register an API**. In the **Add APIs** panel, click **Register** on the EOR and Contractor API sets for your environment.

<ul>
  <li>**EOR**: covers the employee, employment, contract, job, benefit, payroll, time off, customer, invoice, and change request scopes.</li>
  <li>**Contractor**: covers the contractor and contractor contract scopes.</li>
  <li>Outside Production the API sets carry an environment suffix — **EOR - SANDBOX** and **Contractor - SANDBOX** for Sandbox, **EOR - TEST** and **Contractor - TEST** for Test, **EOR - DEV** and **Contractor - DEV** for Dev. The panel lists five sets per page, so use the page numbers or **Search APIs by name** to find each one.</li>
  <li>An API set that belongs to another environment shows **This API uses a different authentication strategy.** instead of a **Register** button.</li>
  <li>Each API set shows the status **approved** once it is registered.</li>
</ul>

![The Add APIs panel showing the EOR - TEST API set with its Register button highlighted](https://mintcdn.com/stackone-60/Ww88Yu3zW3D344Sr/connectors/globalizationpartners/images/custom-config-register-apis.png?fit=max\&auto=format\&n=Ww88Yu3zW3D344Sr\&q=85\&s=e29bb740f9084f852637f2e28dc96e38)

## Find your Client ID

The **Credentials** tab of an application lists its **Client ID**, so you can retrieve it after leaving the creation dialog.

<ul>
  <li>Open **Applications** from the account menu and select your application.</li>
  <li>Open the **Credentials** tab.</li>
  <li>If the client secret was not saved, click **Refresh secret** to issue a replacement, then copy the new **Client Secret** across.</li>
</ul>

![The application Credentials tab listing the Client ID with the Refresh secret button highlighted](https://mintcdn.com/stackone-60/069lJbFtqI7H18xz/connectors/globalizationpartners/images/custom-config-credentials-tab.png?fit=max\&auto=format\&n=069lJbFtqI7H18xz\&q=85\&s=bc89177fc2df3cab422897acf1d8e1b7)

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