Set up a Workday data store

This page describes how to create a data store and connect Workday to Gemini Enterprise.

Before you begin

Before you set up your Workday connection, follow these steps:

  1. Grant the Discovery Engine Editor role (roles/discoveryengine.editor). This role is required for the user to create the data store. To grant this role, do the following:

    1. In the Google Cloud console, go to the IAM page.

      Go to IAM

    2. Locate the user account and click edit Edit.
    3. Grant the Discovery Engine Editor role to the user. For more information, see IAM roles and permissions.

  2. Register an OAuth 2.0 API client in Workday:

    1. Sign in to your Workday tenant as a Workday administrator.

    2. In the search bar, search for Register API Client and select the Register API Client task.

    3. Enter a Client Name for the integration.

    4. Set Client Grant Type to Authorization Code Grant and Access Token Type to Bearer.

    5. In the Redirection URI field, enter https://vertexaisearch.cloud.google.com/oauth-redirect.

    6. In the Scope (Functional Areas) field, select the following functional areas, which Gemini Enterprise requests during OAuth authorization for federated search: Benefits_and_Pay, Contact_Information, Help, Integrations, Jobs_and_Positions, Organizations, Recruiting, Staffing, System, Time_Off_and_Leave, and Workday_Inbox.

    7. Click OK and securely record the generated Client ID and Client Secret.

    8. Note your Workday Tenant ID, Instance URI (your Workday REST API endpoint, such as https://wd#-impl-services1.workday.com), and UI Instance URI (your Workday UI endpoint, such as https://impl.wd#.myworkday.com).

Create the Workday data store

To create the Workday data store, follow these steps:

  1. In the Google Cloud console, go to the Gemini Enterprise page.

    Gemini Enterprise

  2. Select or create a Google Cloud project.

  3. In the navigation menu, click Data stores.

  4. Click Create data store.

  5. In the Source section, search for Workday, and click Select.

  6. In the Data section:

    1. In the Authentication settings section, enter your Workday OAuth API Client details:

      • Instance URI: The REST API URI of your Workday site, used for data traffic including token exchange (for example, https://wd#-impl-services1.workday.com).
      • UI Instance URI: The UI instance URI of your Workday site, used to construct the authorization URL when signing in (for example, https://impl.wd#.myworkday.com).
      • Tenant ID: Your Workday tenant ID.
      • Client ID: The client ID of your Workday OAuth API client.
      • Client Secret: The client secret of your Workday OAuth API client.
    2. Click Verify Auth, sign in to your Workday account, and authorize Gemini Enterprise to access Workday. Click Continue.

    3. In the Destinations section, in the Host field, enter the full https:// URL of your Workday REST API endpoint (for example, https://wd#-impl-services1.workday.com, without a trailing slash). Click Continue.

    4. In the Advanced options section:

      • Required: In the Tenant field, enter the tenant name for your Workday account (matching your Tenant ID from Authentication settings).
      • Optional: In the Base Web URL field, enter the base URL of your Workday web application (matching your UI Instance URI, for example, https://impl.wd#.myworkday.com) to form clickable links to original records in search results.
      • Optional: If you need fixed IP addresses for outbound traffic, select Enable static IP. You can add these IP addresses to your allowlist. For more information, see Configure static IP egress.

      Click Continue.

    5. In the Entities to search section, choose which Workday entities Gemini Enterprise should search. You can select any combination of Workers, JobProfiles, SupervisoryOrganizations, WorkersDirectReports, WorkersTimeOffPlans, and ArticleVersions.

  7. Click Continue.

  8. In the Configuration section:

    1. From the Multi-region list, select the location for your data connector.
    2. In the Your data connector name field, enter a name for your connector.
    3. If you selected us or eu as the location, configure the Encryption settings:
      • Optional: If you haven't configured single-region keys, click Go to settings page to do so. For more information, see Register a single-region key for third-party connectors.
      • Select Google-managed encryption key or Cloud KMS key.
      • If you selected Cloud KMS key:
        • In the Key management type list, select the appropriate type.
        • In the Cloud KMS key list, select the key.
      For more information, see Customer-managed encryption keys.

  9. Click Continue.

  10. In the Billing section, select General pricing or Configurable pricing. For more information, see Verify the billing status of your projects and Licenses.

  11. Click Create. Gemini Enterprise creates your data store and displays your data stores on the Data stores page.

On the Data stores page, click your data store name to see the status. After the data store state changes from Creating to Active, the Workday data store is ready to use.

After creating the data store, connect the data store to an existing app or create an app and connect the data store to it, and then authorize Gemini Enterprise to access Workday before running any queries.

Data handling and query execution

This section describes how Gemini Enterprise manages your query and the privacy implications of using the federated data store.

Query execution

After you authorize Workday and send a search query to Gemini Enterprise:

  • Gemini Enterprise sends your search query directly to the Workday API.
  • Gemini Enterprise blends the results with those from other connected data sources and displays a comprehensive search result.

Data handling

When using third-party federated search, the following data handling rules apply:

  • Your query string is sent to the third-party search backend (Workday API).
  • These third parties may associate queries with your identity.
  • If multiple federated search data sources are enabled, the query might be sent to all of them.
  • After the data reaches the third-party system, it is governed by that system's terms of service and privacy policies.

What's next