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

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

## Register the service application

Every caller application must be registered with Guidewire Hub. Guidewire completes the registration and sends the client ID and client secret.

**1. Request the registration**

Sign in to the [Guidewire Community](https://community.guidewire.com) and create a **Support Task** case using the **GWHUB-0110 – Create, Update or Delete Guidewire Hub Application** template.

<ul>
  <li>Ask for a **Cloud/Rest API** authentication registration with the **Standalone service** auth flow.</li>
  <li>Ask Guidewire to confirm the API role and the Guidewire Hub token URL with the registration.</li>
  <li>Provide the information Guidewire asks for in the case.</li>
</ul>

**2. Copy the credentials**

Guidewire sends the client ID and client secret once the registration is complete.

<ul>
  <li>Copy the **Client ID** and paste it into the **Client ID** field when you connect your account.</li>
  <li>Copy the **Client Secret** and paste it into the **Client Secret** field when you connect your account.</li>
</ul>

## Find the Guidewire Hub token URL

Guidewire Hub issues tokens from a URL that depends on your Guidewire Cloud region. Guidewire sends it with the registration, and the [Guidewire Hub token URLs by region](https://docs.guidewire.com/cloud/console/cloudconsoleapi/get-started) page lists the full URL for each region.

**1. Copy the token URL**

Use the token URL from the registration, or the one listed for your region. Its host is:

<ul>
  <li>**AMER**, **BRAZIL** and **CANADA**: `guidewire-hub.okta.com`</li>
  <li>**EMEA** and **SWITZERLAND**: `guidewire-hub-eu.okta.com`</li>
  <li>**APAC** and **JAPAN**: `guidewire-hub-apac.okta.com`</li>
  <li>Paste the full URL into the **Token URL** field when you connect your account.</li>
</ul>

## Scopes for the token request

The scopes name the application's resource access strategy, its API role and the Guidewire Cloud deployment it calls. Guidewire confirms the API role with the registration, and your Guidewire Cloud administrator knows the tenant, project and planet class.

**1. Build the scope list**

Join these values with spaces:

<ul>
  <li>`pc.service` for PolicyCenter, `cc.service` for ClaimCenter, or both</li>
  <li>`scp.pc.{role}` or `scp.cc.{role}`: the API role registered for the application</li>
  <li>`tenant.{tenantId}` and `project.{projectId}`: your Guidewire Cloud tenant and project</li>
  <li>`planet_class.prod`, `planet_class.preprod` or `planet_class.lower`: the planet class of the instance</li>
  <li>Example: `cc.service scp.cc.acme_fnolreporter tenant.acme project.default planet_class.prod`</li>
  <li>Paste the list into the **Scopes** field when you connect your account.</li>
</ul>

## Find your application URLs

The application URL is the address of the InsuranceSuite application, before the endpoint path. PolicyCenter and ClaimCenter each have their own: PolicyCenter actions need the PolicyCenter URL and ClaimCenter actions need the ClaimCenter URL.

**1. Copy the application URLs**

Open PolicyCenter or ClaimCenter in your browser and copy the address up to the first `/` after the host. Your Guidewire Cloud administrator can also give you each URL.

<ul>
  <li>Format: `https://{application host}`</li>
  <li>Example: if PolicyCenter opens at `https://pc-prod-acme.acme-planet.guidewire.net/pc/PolicyCenter.do`, your **PolicyCenter URL** is `https://pc-prod-acme.acme-planet.guidewire.net`</li>
  <li>Paste the PolicyCenter address into the **PolicyCenter URL** field when you connect your account.</li>
  <li>Paste the ClaimCenter address into the **ClaimCenter URL** field when you connect your account.</li>
</ul>

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