---
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 UKG spoke

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

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

Integrate your Kronos application with your ServiceNow instance. Register an OAuth
application in Kronos and authenticate requests from ServiceNow.

## Before you begin

* Request an Integration Hub subscription.
* Activate the UKG spoke.
* Kronos manager user or superuser credentials.
* Role required: admin.

{#setup-kronos__ul_l2l_mph_gfb}  
Note:  
Make sure that the application registry, connections, and credentials are within the application scope.
You can choose to set up the UKG spoke using the connection template or using connection and credentials records according to your requirement.

## Option 1: Configure a connection for the UKG spoke {#ariaid-title2}

Add and configure a connection using the connection template to authenticate ServiceNow requests in UKG spoke.

### Before you begin

Role required: admin  
Note:  
If you're updating from a previous version (before version 3.3.0) of the spoke, first you need to remove the current connection record, credentials record, and Kronos user credentials. Then, you can set up the connection using the template.

### Procedure

1. Navigate to AllProcess AutomationFlow Designer.
2. Select the Connections tab.
3. Locate the UKG connection alias and click View Details.  
   Note:  
   Don't click Add Connection.
4. Click Edit.  
   If you are configuring the spoke for the first time, click Configure.
5. On the form, fill in the fields.  
   {#configure-connection-ukg-spoke__table_olv_1my_bcc__entry__2}

   | Field | Description |
   |-|-|
   | Connection Name | Name to uniquely identify the connection record. For example, enter Kronos Conn. |
   | Connection URL | URL of the Kronos instance. |
   | App Key | Application key of the Kronos instance. |
   | OAuth Entity Name | Unique name to identify the OAuth entity profile of the UKG spoke. For example, select <kbd class="ph userinput">UKG OAuth entity</kbd>. |
   | OAuth Client ID | Client ID created during the application configuration in Kronos. |
   | OAuth Client Secret | Client Secret created during the application configuration in Kronos. |
   | Token URL | OAuth server token endpoint. For example, <kbd class="ph userinput">https://&lt;Kronos-Instance&gt;.com/api/authentication/access_token</kbd>. |
   [ ]

   {#configure-connection-ukg-spoke__table_olv_1my_bcc}
6. Click Configure and Get OAuth Token.  
   A modal page displays to enter your Kronos credentials.
7. Enter your Kronos username and password and click Get OAuth Token.

### Result

Once your OAuth token has been successfully fetched, you can begin using your UKG spoke connection.

## Option 2: Using connection and credentials records for UKG spoke setup {#ariaid-title3}

Create a connection record and credential record for setting up the UKG spoke.

### Before you begin

Role required: admin  
Note:  
If you have already configured a connection using the connection template, you can ignore this procedure.

### Register Kronos as an OAuth provider {#ariaid-title4}

Use the information generated during the Kronos application creation and configuration to register Kronos as an OAuth provider and allow the instance to request OAuth 2.0 tokens.

#### Before you begin

Role required: admin

#### Procedure

1. Navigate to AllSystem OAuthApplication Registry.
2. Open the record for the Kronosspoke.
3. On the form, fill in the fields.  
   {#reg-kronos-oauth__table_alw_kq3_gfb__entry__2}

   | Field | Value required |
   |-|-|
   | Name | Name to uniquely identify the record. For example, enter <kbd class="ph userinput">Kronos OAuth profile</kbd>. |
   | Client ID | Client ID created during the application configuration in Kronos. |
   | Client Secret | Client Secret created during the application configuration in Kronos. |
   | Default Grant type | Grant type used to establish the token. Select Resource Owner Password Credentials. |
   | Application | Application scope that contains this record. Select Kronos Spoke. |
   | Accessible from | Application scope that this registry is accessible from. |
   | Active | Option to actively use the application registry. Select the option. |
   | Token URL | OAuth server token endpoint. For example, <kbd class="ph userinput">https://&lt;Kronos-Instance&gt;.com/api/authentication/access_token</kbd> . |
   | Redirect URL | OAuth callback endpoint. For example, <kbd class="ph userinput">https://&lt;ServiceNow-Instance&gt;.com/oauth_redirect.do</kbd>. |
   [ ]

   {#reg-kronos-oauth__table_alw_kq3_gfb}
4. Right-click the form header, and click Save.
5. In the OAuth Entity Scopes tab, insert a row and provide these values.  
   {#reg-kronos-oauth__table_pnl_mmn_5lb__entry__2}

   | Field | Value |
   |-|-|
   | Name | Kronos |
   | OAuth scope | givenName mail nonce openid profile sn uid |
   [ ]

   {#reg-kronos-oauth__table_pnl_mmn_5lb}
6. Click Update.
7. In the OAuth Entity Profile tab, click the default profile, Kronos oAuth default_profile.
8. Insert a record in the OAuth Entity Scope related list and select the default entity scope for the Kronos spoke, for example, <kbd class="ph userinput">Kronos</kbd>.
9. Click Update.
{#reg-kronos-oauth__steps_ckn_s3n_5lb}

### Create Credential record for the Kronos spoke {#ariaid-title5}

Authorize the Kronos spoke actions by creating credential records for the application registered in Kronos. The Kronos spoke connection and credential alias uses these credentials to authorize
actions.

#### Before you begin

Role required: admin.

#### Procedure

1. Navigate to AllConnections \& CredentialsCredentials.
2. Click New.  
   The system displays the message What type of Credentials would you like to create?.
3. Select OAuth 2.0 Credentials.
4. On the form, fill in the fields.  
   {#create-cred-kronos__table_sxv_zgp_gfb__entry__2}

   | Field | Value required |
   |-|-|
   | Name | Name to uniquely identify the record. For example, <kbd class="ph userinput">Kronos Cred</kbd>. |
   | Active | Option to actively use the credential record. Select the option. |
   | OAuth Entity Profile | Default OAuth entity profile of the Kronos spoke. For example, select Kronos oAuth default_profile. |
   | Order | Order that the credentials are used. For example, enter <kbd class="ph userinput">100</kbd>. |
   [ ]

   {#create-cred-kronos__table_sxv_zgp_gfb}
5. Right-click the form header and click Save.
{#create-cred-kronos__steps_ccg_wnn_5lb}

### Provide Kronos user credentials {#ariaid-title6}

Create a record to provide details and credentials of the required Kronos user. The Kronos spoke uses these user credentials to perform actions in Kronos.

#### Before you begin

Role required: admin.

#### About this task

Ensure that you provide credentials of a manager user or Kronos superuser. With these credentials, time off requests of both employee and manager can be managed.

#### Procedure

1. Navigate to AllKronosCredentials.
2. Click New.
3. On the form, fill these values.  
   {#create-user-cred-kronos__table_mdw_dpn_5lb__entry__2}

   | Field | Descriptions |
   |-|-|
   | Name | Name to uniquely identify the record. |
   | Application Key | Application Key of the Kronos user. |
   | User name | User name to log in to the user's account in Kronos. |
   | Password | Password of the Kronos user account. |
   | Connection \& Credential Alias | Default alias record associated with the Kronos spoke. |
   | Refresh Token Expires | Date and time by when the Kronos refresh token expires. The Kronos spoke generates a new refresh token periodically, before the current refresh token expires. |
   [Table 1. Kronos Credentials form]

   {#create-user-cred-kronos__table_mdw_dpn_5lb}
4. Click Submit.
5. To generate the Kronos token, click the Get Kronos Token related link.

#### Result

The Kronos - Get Kronos Token subflow is triggered. The subflow uses the details provided during spoke setup to retrieve a valid refresh token from Kronos. The subflow then, updates the value of Refresh Token Expires.  
Note:  
To access more details about the Kronos refresh token, navigate to System OAuthManage Tokens.. Here, a record is created for each refresh token.

### Create Connection record for the Kronos spoke {#ariaid-title7}

Create Connection records to your Kronos application. The Kronos spoke connection and credential alias uses these connections to perform actions in Kronos.

#### Before you begin

Role required: admin.

#### Procedure

1. Navigate to AllConnections \& CredentialsConnection \& Credential Aliases.
2. Open the record for the Kronos spoke.
3. From the Connections tab, click New.
4. On the form, fill these values.  
   {#create-conn-kronos__table_any_shp_gfb__entry__2}

   | Field | Value required |
   |-|-|
   | Name | Name to uniquely identify the connection record. For example, enter <kbd class="ph userinput">Kronos Conn</kbd>. |
   | Credential | Credential record you created for Kronos. For example, select Kronos Cred. See [Create Credential record for the Kronos spoke](https://www.servicenow.com/docs/phoaYmBGudHmsrYCNtdBow#create-cred-kronos "Authorize the Kronos spoke actions by creating credential records for the application registered in Kronos. The Kronos spoke connection and credential alias uses these credentials to authorize actions.") for more information. |
   | Connection alias | Alias record associated with this connection. |
   | URL builder | Note: Do not select the check box. |
   | Connection URL | URL of the Kronos instance. |
   | Use MID server | This field isn't applicable. |
   | Active | Option to actively use the connection. Select the option. |
   | Domain | Domain that the action or activity runs in. |
   [Table 2. HTTP(s) Connection form]

   {#create-conn-kronos__table_any_shp_gfb}
5. In the Attributes tab, fill these values.  
   {#create-conn-kronos__table_gwl_2qs_tlb__entry__2}

   | Field | Description |
   |-|-|
   | u_app_key | Application Key of the Kronos user. |
   | u_version | Kronos version of your instance. Enter <kbd class="ph userinput">v1</kbd>. |
   [ ]

   {#create-conn-kronos__table_gwl_2qs_tlb}
6. Click Submit.
{#create-conn-kronos__steps_vlk_csn_5lb}

*[\>]: and then


