---
sourceDocument: Yokohama Data and Automation
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/integrate-applications

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Data and Automation

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Set up the Guidewire spoke

# Set up the Guidewire spoke {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 5 minutes to read

Integrate the ServiceNow instance and Guidewire using basic Auth or OAuth 2.0 authentication to authenticate ServiceNow requests.

## Before you begin

* Request an Integration Hub subscription.
* Activate the Guidewire spoke.
* Choose and implement the Guidewire authentication approach appropriate for your application. See the Guidewire documentation for [Choosing an authentication flow](https://docs.guidewire.com/cloud/cc/202205/cloudapica/cloudAPI/topics/71_Authentication/p_choosing-an-authentication-flow.html) for details.
* Ensure that the dependent plugins are activated.
* Role required: admin.
{#set-up-guidewire-spoke__ul_agy_qxd_rlb}

## Register Guidewire as an OAuth provider {#ariaid-title2}

Use the
information
generated during the Guidewire application configuration to register Guidewire as an OAuth provider. OAuth provider registration enables the ServiceNow instance to request OAuth 2.0 tokens.

### Before you begin

* Role required: admin
* Client ID and client secret generated from configuration of the third-party Guidewire application
{#register-guidewire-oauth__ul_f5c_z31_fxb}

### Procedure

1. Navigate to AllSystem OAuthApplication Registry.
2. Select New.  
   The system displays this message: What kind of OAuth application?.
3. Select Connect to a third party OAuth Provider.
4. On the form, fill these values.  
   {#register-guidewire-oauth__table_jqc_hgn_swb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Name to uniquely identify the record. For example, enter: <kbd class="ph userinput">Guidewire OAuth</kbd> |
   | Client ID | \<Client ID\> created during the Guidewire account configuration. |
   | Client Secret | \<Client Secret\> created during the Guidewire account configuration. |
   | Authorization URL | OAuth authorization code endpoint. |
   | Token URL | OAuth server token endpoint. |
   | Token Revocation URL | OAuth server token revocation endpoint. |
   | Redirect URL | OAuth callback endpoint in this format: <kbd class="ph userinput">https://&lt;instance&gt;.service-now.com/oauth_redirect.do</kbd> |
   | OAuth API Script | Script to customize the request and response. |
   | Logo URL | URL that contains an image to use as the application logo. |
   | Default Grant Type | Grant type used to establish the token.. |
   | Refresh Token Lifespan | Time, in seconds, that the refresh token is valid. The default time is 8,640,0000 seconds. |
   | PKCE required | Option to enable public clients to require PKCE for an authorization. Note: You can use only Authorization Code as the Default Grant type when PKCE is enabled. |
   | Application | Application scope that contains this record. |
   | Accessible from | Application scope that this registry is accessible from. |
   | Active | Option to actively use the application registry. |
   | Use mutual authentication | Option to use mutual authentication for token request and revocation. This option requires a mutual authentication profile to be specified. |
   | Send credentials | Option for whether or how to send authentication information identifying the application and its authorized users to the OAuth server. |
   [Table 1. Application Registries form]

   {#register-guidewire-oauth__table_jqc_hgn_swb}
5. On the form header, select Submit.
{#register-guidewire-oauth__steps_nt2_cgn_swb}

## Create OAuth 2.0 credential record for the Guidewire spoke {#ariaid-title3}

Create credential records to the Guidewire custom OAuth application you created during Guidewire account configuration. The Guidewire spoke connection and credential aliases use these credentials to authorize actions in Guidewire application. The Guidewire connection and credential alias uses these credentials to authorize actions.

### Before you begin

Role required: admin

The following example shows the steps for creating a credential record for Guidewire PolicyCenter, Guidewire ContactManager, or Guidewire ClaimCenter.

### Procedure

1. Navigate to AllConnections \& CredentialsCredentials.
2. Select New.  
   The system displays this message: What type of Credentials would you like to create?
3. Select OAuth 2.0 Credentials.  
   The pop-up window displays a blank OAuth 2.0 Credentials form.
4. Enter these values.  
   {#create-cred-guidewire__steps_mps_rpm_swb__entry__2}

   | Field | Value required |
   |-|-|
   | Name | Enter any name to uniquely identify the record. For example, enter <kbd class="ph userinput">Guidewire OAuth2.0 API Credentials</kbd>. |
   | Active | Enable |
   | OAuth Entity Profile | Select the OAuth profile you created when you registered the custom Equifax application as an OAuth provider. For example, select Equifax OAuth default profile. |
   | Applies to | Select the MID Servers that can use this credential. For example, select All MID Servers. |
   | Order | Select the order to apply this credential. For example, enter <kbd class="ph userinput">100</kbd>. |
   [ ]

5. Select Submit.
6. To generate the OAuth token, select the Get OAuth Token related link.
{#create-cred-guidewire__steps_mps_rpm_swb}

## Create Basic Auth credential record for the Guidewire spoke {#ariaid-title4}

Create a Basic Auth credential record for the Guidewire application. The Guidewire connection and credential alias uses these credentials to authorize actions in Guidewire PolicyCenter, Guidewire ContactManager, and Guidewire ClaimCenter.

### Before you begin

Role required: admin

The following example shows the steps for creating a basic Auth credential record for Guidewire PolicyCenter, Guidewire ContactManager, and Guidewire ClaimCenter.

### Procedure

1. Navigate to AllConnections \& CredentialsCredentials.
2. Select New.  
   The system displays this message: What type of Credentials would you like to create?
3. Select Basic Auth Credentials.
4. On the form, fill in the fields.  
   {#create-bauth-guidewire__steps_qcm_xpm_swb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Name to uniquely identify the record. For example, Guidewire. |
   | User name | User name to be entered as credential. |
   | Password | Password to be entered as credential. |
   | Active | Option to actively use the credential record. Select the option. |
   | Order | Order that the credentials are used. For example, enter <kbd class="ph userinput">100</kbd>. |
   [ ]

5. Right-click the form header and select Submit.
{#create-bauth-guidewire__steps_qcm_xpm_swb}

## Switch between basic Auth and OAuth 2.0 credential {#ariaid-title5}

You can choose to switch between implemented basic Auth and OAuth 2.0 authentication
based on your event or security needs.

### Before you begin

* Role required: admin
* [Create Basic Auth credential record for the Guidewire spoke](https://www.servicenow.com/docs/5q7dAumO~U1iTZ9lXe1p5w#create-bauth-guidewire "Create a Basic Auth credential record for the Guidewire application. The Guidewire connection and credential alias uses these credentials to authorize actions in Guidewire PolicyCenter, Guidewire ContactManager, and Guidewire ClaimCenter.")
* [Register Guidewire as an OAuth provider](https://www.servicenow.com/docs/5q7dAumO~U1iTZ9lXe1p5w#register-guidewire-oauth "Use the information generated during the Guidewire application configuration to register Guidewire as an OAuth provider. OAuth provider registration enables the ServiceNow instance to request OAuth 2.0 tokens.")
{#guidewire-switch-between-basic-oauth__ul_ejc_ftr_5wb}

The following example shows the steps for switching from basic auth to OAuth 2.0 for
the Guidewire ClaimCenter application.

### Procedure

1. Navigate to AllConnections \& CredentialsConnection \& Credential Aliases.
2. Select the Guidewire ClaimCenter record you want to re-configure.
3. From the Connections tab, open the existing target connection record.
4. In the Credential field, select the reference lookup icon.
5. Select the credential record.

* If switching the authentication method from basic auth to OAuth 2.0, select the credential record created during OAuth setup.
* If switching the authentication method from OAuth 2.0 to basic auth, select the credential record created during basic Auth setup.
{#guidewire-switch-between-basic-oauth__ul_dvd_bqs_5wb}

6. Save the record.

### What to do next

[Get Guidewire OAuth token](https://www.servicenow.com/docs/5q7dAumO~U1iTZ9lXe1p5w#get-guidewire-oauth-token "Generate the Guidewire access token.")

## Create connection record for the Guidewire spoke {#ariaid-title6}

Create a connection record for your Guidewire application. The Guidewire connection and credential aliases use these connections to perform actions in Guidewire PolicyCenter, Guidewire ContactManager, and Guidewire ClaimCenter.

### Before you begin

Role required: admin

The following example shows the steps for creating a connection record for Guidewire PolicyCenter, Guidewire ContactManager, or Guidewire ClaimCenter.

### Procedure

1. Navigate to AllConnections \& CredentialsConnections \& Credentials Aliases.
2. Open the alias record, for example, Guidewire ClaimCenter.
3. From the Connections tab, select New.
4. On the form, fill these fields.  
   {#create-connection-guidewire__table_dd4_3pm_swb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Name to uniquely identify the record. For example, <kbd class="ph userinput">Guidewire Connection</kbd>. |
   | Credential | Basic Auth or OAuth 2.0 credential record created for Guidewire. For example, <kbd class="ph userinput">Guidewire OAuth2.0 API Credentials</kbd>. |
   | Connection alias | Alias record associated with this connection. |
   | Connection URL | Base URL to connect to Guidewire. |
   | Active | Option to actively use the connection record. |
   | Domain | Domain that the action runs in. |
   [Table 2. Connection form]

   {#create-connection-guidewire__table_dd4_3pm_swb}
5. Select Submit.
{#create-connection-guidewire__steps_cd4_3pm_swb}

## Get Guidewire OAuth token {#ariaid-title7}

Generate the Guidewire access token.

### Before you begin

Role required: admin

### Procedure

1. Navigate to AllConnections \& CredentialsCredentials.
2. Select the Guidewire spoke OAuth Credential record.  
   For example, select Guidewire OAuth2.0 Credentials.
3. From Related Links, select Get OAuth Token.

### Result

The Guidewire spoke receives a new OAuth access token.

*[\>]: and then


