This page describes how to connect Workday to Agentspace Enterprise.
After you set up your data source and import data the first time, the data store syncs data from that source at a frequency that you select during setup.
Before you begin
Before you create a Workday datastore, make sure you have the following:
- Client ID
- Client secret key
- Refresh token
These credentials are necessary for connection authentication.
Use the following steps to generate a client ID, secret key, and refresh token, create a new user in the Workday instance, assign them to a security group, and grant the necessary permissions.
Register API client in Workday
To register an API client in Workday, do the following:
Sign in to your Workday instance using administrator account. The login URL has following format: https://YOUR_INSTANCE_ID.workday.com/wday/authgwy/YOUR_TENANT/login.html
In the search bar, search for
Register API client for integrations
.In the Register API client for integrations dialog:
- Enter Client name.
- Select Non-expiring refresh tokens checkbox.
- Select Include workday owned scope checkbox.
- Add all values in the Scope (Functional area) by pressing Ctrl+A and then spacebar.
Click Ok.
Register API client for integrations
Save the Client ID and Client secret values from the confirmation page for later use.
Register API client for integrations confirmation Click Done.
Set permissions and roles for Workday user
To set up an integration system user, create a security group, add the user to the group, and assign required permissions, do the following:
Create integration system user
- In the search bar, search for
Create integration system user
. In the Create integration system user dialog:
- Enter Username.
- Set Password.
- Set Session timeout to
0
. - Select Do not allow UI sessions checkbox for enhanced security.
Click Ok.
Create integration system user The created user details are displayed. You can note down the username and password for later use.
Created user details
Create integration security group
- In the search bar, search for
Create security group
. In the Create security group dialog window:
- Select Type as Integration system security group (Unconstrained).
- Enter a Name.
Click Ok.
Create security group
In the Edit integration system security group (Unconstrained) window:
- The security group name entered in the previous step appears in the Name field.
- Add comments.
- In the Integration System Users field, add the username you created in the Create integration system user section.
- Click Ok.
Click Done. You can note down the security group name for later use.
Edit integration system security group
Grant domain access
- In the search bar, search for
Maintain permission for security group
. In the Maintain permission for security group dialog window:
- Set Operation as Maintain.
- In the Source security group field, select the security group name you created in the Create integration security group section.
Click Ok.
Edit the security group
In the Maintain permission for security group page:
- Click the icon under Domain security policy permissions.
- Add the following permissions for Domain security policy permissions:
View and Modify
Workday Query Language
WQL for Workday Extend
View Only
HCM All Organizations
Indexed Data Source: Positions
Manage: Company
Manage: Cost Center
Manage: Custom Organization
Manage: Region
Manage: Supervisory Organization
Person Data: Work Email
Reports: Organization
Security Administration
Set Up: Compensation Guidelines
Set Up: Organization
Set Up: Payroll - Pay Group Specific
Worker Data: Active and Terminated Workers
Worker Data: Compensation Grade
Worker Data: Current Job Profile Information
Worker Data: Current Management Level Information
Worker Data: Current Staffing Information
Worker Data: Headcount Reports
Worker Data: Public Worker Reports
Worker Data: Work Shifts
Workday Accounts
Get Only
Reports: Organization
Worker Data: Public Worker Reports
Click Ok.
Maintain permissions for security group Click Done.
View security group Repeat the search for Maintain permission for security group, verify that the roles and policies are added, and click Ok.
Maintain permissions for security group dialog
Add a security group for the integration system user
- In the search bar, search for
Integration system user security configuration
. In the Integration system user security configuration page:
Search for the user using filters. For Filter condition select is, and enter the username you created in the Create integration system user section for Value.
Select user Click the three dots (...) next to the username.
Select Security Profile > Assign integration system security groups.
Assign integration system security groups In the Assign integration system security groups for integration system user dialog, select the security group name you created in the Create integration security group section.
Select security group Click Ok.
Click Done.
Activate pending security policy changes
- In the search bar, search for
Activate pending security policy changes
. In the Activate pending policy changes page:
- Add Comments.
Click Ok.
Activate pending changes
Review the changes on the Activate pending security policy changes page.
Select Confirm checkbox.
Click Ok.
Activate policy changes The View security timestamp page is displayed.
Security timestamp
Generate refresh token
- In the search bar, search for
View API clients
. - Navigate to API clients for integrations tab.
- Search for the API client using filters. For Filter condition select is, and enter the API client name you created in the Register API client in Workday section for Value.
- Click the three dots (...) next to the API client name and select
API client > Manage refresh token for integration.
Manage refresh token for integration In the Manage refresh token for integration dialog:
- In the Workday account user field, select the username you created in the Create integration system user section.
Click Ok.
Select the Workday account user
On the Delete or regenerate refresh token page:
- Select Generate new refresh token checkbox.
Click Ok.
Select generate new refresh token
On the Successfully regenerated refresh token page:
- Copy the Refresh token for later use.
Click Done.
Successfully regenerated refresh token
Create a Workday datastore
Console
To use the Google Cloud console to sync data from Workday to Agentspace Enterprise , follow these steps:
In the Google Cloud console, go to the Agentspace page.
In the navigation menu, click Data stores.
Click
Create data store.On the Select a data source page, scroll or search for Workday to connect your third-party source.
Select data source Enter the required authentication details:
- Client ID
- Client secret
- Refresh token
Click Continue.
Enter authentication details Under Destinations, in the Base URL field, enter the REST API endpoint URL, for example:
https://wd5-impl-serrvices1.workday.com
.Click Continue.
Enter URLs Workday REST API Under Advanced options, enter the Tenant and Base Web URL.
For example:
- Tenant:
google_gms1
- Base Web URL:
https://wd5-impl.workday.com
Enter Workday tenant Enter the base URL - Tenant:
Select which entities to sync.
Select a synchronization frequency and click Continue.
Sync frequency Select a region for your datastore.
Enter a name for your data connector.
Click Create. Agentspace Enterprise creates your datastore and displays your data stores on the Data stores page.
To check the status of your ingestion, go to the Data stores page and click your connector name to see details about it on its Data page. The Connector state changes from Creating to Running when it starts synchronizing data. When ingestion is complete, the state changes to Active to indicate that the connection to your data source is set up and awaiting the next scheduled synchronization.
Depending on the size of your data, ingestion can take several minutes or several hours.
Next steps
To attach your data store to an app, create an app and select your data store following the steps in Create an app.
To preview how your search results appear after your app and data store are set up, see Preview search results. If you used third-party access control, see Preview results for apps with third-party access control.
To enable alerts for the data store, see Configure alerts for third-party data stores.