---
title: Configure authentication to Workday HCM
description: Learn how to configure Workday HCM to enable authentication from Databricks.
canonical_url: https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/workday-hcm-setup
---

# Configure authentication to Workday HCM

> [!NOTE]
> **Beta**
>
> This feature is in [Beta](https://docs.databricks.com/aws/en/release-notes/release-types.md).

This page shows how to configure Workday HCM to enable authentication from Databricks. You'll use the credentials from this page to create a connection in Databricks.

## <a id="set-up-an-integration-system-user" />Set up an integration system user

1. Sign in to Workday with an administrator account.
2. Search for and click **Create Integration System User**.
3. Provide a **User Name** and **Password** for the user.
4. Leave the **Require New Password at Next Sign In** option unselected.
5. Click **OK** to confirm, then click **Done** to complete the setup.

## <a id="set-up-an-integration-security-group" />Set up an integration security group

1. Search for and click **Create Security Group**.
2. From the **Type of Tenanted Security Group** drop-down menu, select **Integration System Security Group (Unconstrained)**.
3. Enter a name for the security group in the **Security Group Name** field, then click **OK**.
4. In the **Edit Integration System Security Group (Unconstrained)** window, add the integration system user to the group.
5. Click **OK** to save your changes, then click **Done**.

## <a id="add-the-integration-security-group-to-the-authentication-policy" />Add the integration security group to the authentication policy

1. Search for and click **Manage Authentication Policies**.
2. Click **Add Authentication Policy**.
3. Specify the **Restricted to Environment** value and select **Authentication Policy Enabled**.
4. In the **Authentication Allowlist** section, enter an **Authentication Rule Name**.
5. Select the security group you created.
6. Enter the **Authentication Condition Name** and **Authentication Conditions**.
7. Select **Any** under **Allowed Authentication Types**.
8. Search for and click **Activate All Pending Authentication Policy Changes**.
9. Type "I approve the changes" in the **Comment** text box, then click **OK**.
10. Select the **Confirm** checkbox, then click **OK** to finalize the changes.

## <a id="configure-domain-security-policies" />Configure domain security policies

1. Search for **Security Group Membership and Access**, then click the report link.

2. Choose the security group you created, then click **OK**.

3. Click the **...** icon beside the security group name.

4. Navigate to **Security Group** > **Maintain Domain Permissions for Security Group**.

5. In the **Integration Permissions** section, locate the **Domain Security Policies permitting Get access** field.

6. Search for and select the security domains that correspond to your source tables. To determine which security domains you need, see [Security domains](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/workday-hcm-setup.md#security-domains).

7. Add your security group to the domain security policy by selecting **Edit Domain Security Policy Permissions** and enabling **Integration Permissions Get Access**.

8. An alert appears indicating that you need to activate the security policy changes. Click **OK**, then click **Done**.

### <a id="security-domains" />Security domains

| Workday Object         | Security domains                                                                                                                  |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| Workers                | Worker Data: Public Worker Reports<br />Workday Usage Metrics<br />Worker Data: Historical Staffing Information                   |
| Ethnicities            | Set Up: Contact Info, IDs, and Personal Data                                                                                      |
| Gender Identities      | Set Up: Contact Info, IDs, and Personal Data                                                                                      |
| LGBT Identifications   | Set Up: Contact Info, IDs, and Personal Data                                                                                      |
| Pronouns               | Set Up: Contact Info, IDs, and Personal Data                                                                                      |
| Sexual Orientations    | Set Up: Contact Info, IDs, and Personal Data                                                                                      |
| Organizations          | Manage: Organization Integration                                                                                                  |
| Job Profiles           | Job Information                                                                                                                   |
| Positions              | Worker Data: All Positions                                                                                                        |
| Candidates             | Prospects<br />Candidate Data: Job Application                                                                                    |
| Questionnaires         | Questionnaire Creation and Distribution\*                                                                                         |
| Interviews             | Candidate Data: Interview Schedule<br />Candidate Data: Interview Feedback Results\*<br />Self-Service: Give Interview Feedback\* |
| External Reference     | Manage: External References                                                                                                       |
| Job Requisitions       | Job Requisition Data<br />Manage: Evergreen Requisitions                                                                          |
| Payroll Results        | Reports: Pay Calculation Results for Worker (Results)                                                                             |
| Compensation Plans     | Set Up: Compensation                                                                                                              |
| Compensation Grades    | Set Up: Compensation Packages                                                                                                     |
| Override Balances      | Worker Data: Time Off (Time Off Balances)                                                                                         |
| Absence Inputs         | Worker Data: Time Off (Accrual and Time Off Adjustments/Overrides by Batch ID)                                                    |
| Time Off Plan Balances | Worker Data: Time Off (Time Off Balances)                                                                                         |

The security domains listed might not cover all requirements. Some tables might require additional permissions to synchronize. To determine the required permissions, use the **View Security for Securable Item** task to search for the table name. Click **View Security**, review the `GET` requests for the object, and configure the listed security domains in your Workday tenant.

Security domains marked with an asterisk (\*) might not appear when you search in the **Domain Security Policies permitting Get access** field. If you cannot locate one, use the search bar in the **Security** section to find the security domain.

## <a id="activate-security-policy-changes" />Activate security policy changes

1. Search for and click **Activate Pending Security Policy Changes**.
2. Type "I approve the changes" in the comment box, then click **OK**.
3. Select the **Confirm** checkbox, then click **OK** to apply the changes.

## <a id="register-an-oauth-api-client" />Register an OAuth API client

1. Search for **Register API Client for Integrations**.

2. Enter your custom application name in the **Client Name** field.

3. Select or clear the **Non-Expiring Refresh Tokens** check box based on your organization's security policy. If not selected, specify a token validity period (1–365 days). You will need to periodically rotate your refresh token.

4. Select the necessary scopes from the **Scope (Functional Areas)** drop-down menu.

   > [!TIP]
   >
   > To determine which scopes (functional areas) are required, search for the table name using the **View Security for Securable Item** task. Locate the required scope in the **All Functional Areas** column.

5. Click **OK**.

6. Record the **Client ID** and **Client Secret**. These are required to create a connection in Databricks.

7. Open the **Related Actions** menu and navigate to **API Client** > **Manage Refresh Tokens for Integrations**.

8. In the **Workday Account** field, search for and select your Workday account. This account must have the required security domains.

9. Select **Generate New Refresh Token**.

10. Click **OK**.

11. Record the **Refresh Token**. This is required to create a connection in Databricks.

## <a id="next-steps" />Next steps

Use Catalog Explorer to create a connection so that any user with `USE CONNECTION` or `ALL PRIVILEGES` can create pipelines. See [Create a Workday HCM connection](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/workday-hcm-connection.md).
