> For the complete documentation index, see [llms.txt](https://prohelp.assetpanda.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prohelp.assetpanda.com/integrations-store/operations-ops/workday-integration/workday-integration-setup-guide.md).

# Workday Integration Setup Guide

Use the following information to give the Asset Panda Pro integration access to Workday. This article provides read-only (**Get**) access to the following elements:

| Data                                 | Read With           | Workday Service      | Access    |
| ------------------------------------ | ------------------- | -------------------- | --------- |
| Cost Centers and other organizations | `Get_Organizations` | Human\_Resources     | View only |
| Locations                            | `Get_Locations`     | Human\_Resources     | View only |
| Business Assets (optional)           | `Get_Assets`        | Resource\_Management | View only |
| Workers                              | `Get_Workers`       | Human\_Resources     | View only |

Asset Panda Pro connects to Workday as a dedicated “robot” user called an Integration System User (ISU). Workday decides what the user can see through security groups and domains.&#x20;

{% hint style="info" %}

* Each data type has its own domain and needs its own grant. For example, allowing Business Assets does not allow Locations.
* This guide grants view (Get) access only. Leave all update (Put) permissions off.
  {% endhint %}

## Prerequisites

* Active Asset Panda Pro subscription with administrator access
* Security Administrator access to Workday to register an API Client and configure an Integration System User (ISU)
* Active Workday HCM tenant

{% hint style="info" %}
Do everything in the **Implementation** (test) tenant first (for example, tenant `yourcompany_impl1` on host `wd2-impl-services1.workday.com` . Your Workday team can confirm both values. When the integration is running correctly in **Implementation**, repeat the whole guide in **Production**.&#x20;
{% endhint %}

***

## Create the integration user (ISU)&#x20;

The ISU is the account Asset Panda Pro acts as. It never logs in through a browser.&#x20;

1. In **Search**, enter <kbd>Create Integration System User</kbd>.
2. Enter a **User Name** (for example, <kbd>ISU\_Asset\_Integration</kbd>). You'll select this name in future processes.
3. Enter and confirm a strong **Password**. Save it in your vault.
4. Do not select **Require New Password at Next Sign In**.
5. Select **Do Not Allow UI Sessions**, so the account can only be used by the integration.
6. Set **Session Timeout Minutes** to 0 (no timeout), then click **OK**.&#x20;
7. Stop the password from expiring, so the integration doesn’t break unexpectedly:&#x20;
   1. In **Search**, enter <kbd>Maintain Password Rules</kbd>.
   2. For **System Users exempt from password expiration**, add **ISU\_Asset\_Integration**.
   3. Click **OK**.

***

## Create the security group&#x20;

Permissions are given to groups, not directly to users. This group will hold just the ISU.&#x20;

1. In **Search**, enter <kbd>Create Security Group</kbd>.
2. For **Type of Tenanted Security Group**, choose **Integration System Security Group (Unconstrained)**. This means the group sees all records of a granted type, not just one organization’s.
3. Name the group (for example, ISSG\_Asset\_Integration), and then click **OK**.
4. Under **Integration System Users**, add **ISU\_Asset\_Integration** and click **OK**.&#x20;

{% hint style="info" %}
If Asset Panda Pro should only work with some companies or organizations, choose **Integration System Security Group (Constrained)** instead and select those organizations. Constrained groups only work for data that is tied to an organization; confirm with your Workday partner if unsure.
{% endhint %}

***

## Find the right domain for each call&#x20;

Domain names differ slightly between tenants and Workday releases. Workday can identify which domain protects each web service operation.&#x20;

1. In **Search**, enter <kbd>View Security for Securable Item</kbd>.
2. In **Securable Item**, enter the operation name exactly (for example, <kbd>Get\_Assets</kbd>), and run the report.
3. Note the **Domain** names and **Functional Area** shown (Workday’s grouping of related domains, such as Organizations and Roles). You’ll need this information later.
4. Repeat these steps for each of the following operations:

| Data                         | Type in Securable Item | Workday Service      |
| ---------------------------- | ---------------------- | -------------------- |
| Business Assets (optional)   | Get\_Assets            | Resource\_Management |
| Cost Centers / organizations | Get\_Organizations     | Human\_Resources     |
| Locations                    | Get\_Locations         | Human\_Resources     |
| Workers                      | Get\_Workers           | Human\_Resources     |

{% hint style="info" %}
Some operations return more than one domain.
{% endhint %}

***

## Grant data permissions (domains)

Give the group access to each domain.&#x20;

{% hint style="info" %}
In Workday, **Get** means view and **Put** means create or update. For this integration, select **Get** only.
{% endhint %}

1. In **Search**, enter <kbd>Maintain Permissions for Security Group</kbd>.
2. Choose **Maintain** and select the group **ISSG\_Asset\_Integration**, then click **OK**.
3. Select the **Integration Permissions** tab.&#x20;
4. Click **+** to add a row for each domain. See the following sections for more information.
5. Click **OK** to save. You’ll be told there are pending changes; that’s expected and handled in [Activate security changes](#activate-security-changes).

### Business Assets (optional)

If your tenant uses Workday Business Assets (part of Workday Financial Management), add a row for each domain found for **Get\_Assets** and then select **Get**. If your tenant does not use Workday Business Assets, skip this step and the Business Assets rows elsewhere in this guide.

### Cost Centers and other organizations

Add the domains found for **Get\_Organizations** and then select **Get**. This covers Cost Centers, Companies, Supervisory Organizations and their managers and hierarchy.

### Locations

Add the domains found for **Get\_Locations** and then select **Get**.&#x20;

### Workers

Add the following domains and select **Get** for each. They cover every worker field Asset Panda Pro reads, including the delta sync that picks up changes since the last sync.

| Domain                                    | Worker Fields Covered                                                         |
| ----------------------------------------- | ----------------------------------------------------------------------------- |
| Worker Data: Public Worker Reports        | Worker ID, name, manager, business title                                      |
| Worker Data: Current Staffing Information | Worker status (active or terminated), job, location, organization assignments |
| Person Data: Work Contact Information     | Work email, work phone                                                        |

{% hint style="warning" %}

* Leave **Put** unselected on each row.
* Do not add other domains. Grant only what the calls need.
  {% endhint %}

***

## Activate security changes&#x20;

None of the previous changes take effect until they’re activated. This is the most commonly missed step.&#x20;

1. In Search, enter <kbd>Activate Pending Security Policy Changes</kbd>.
2. Enter a comment (for example, Asset integration permissions), and click **OK**.
3. Review the list of changes, select **Confirm**, and click **OK**.
4. Repeat this task each time you change permissions later.&#x20;

{% hint style="info" %}
To confirm this step, search <kbd>View Security Groups for User</kbd>, enter <kbd>ISU\_Asset\_Integration</kbd>, and confirm that **ISSG\_Asset\_Integration** is listed.
{% endhint %}

***

## Register the API Client&#x20;

The API Client gives Asset Panda Pro its own Client ID and Secret, so it can sign in as the ISU without storing the ISU password.&#x20;

1. In **Search**, enter <kbd>Register API Client for Integrations</kbd> .
2. Enter the following information:
   * **Client Name**: For example, Asset Integration Client&#x20;
   * **Non-Expiring Refresh Tokens**: Select this option if your policy allows. Otherwise you’ll need to [generate the refresh token](#generate-the-refresh-token) whenever the token expires.&#x20;
   * **Scope (Functional Areas)**: Add every functional area you noted in [Find the right domain for each call](#find-the-right-domain-for-each-call). The scope must cover each call Asset Panda Pro makes.&#x20;
   * **Include Workday Owned Scope**: Select this option if available.
3. Click **OK**. Workday shows the **Client ID**, **Client Secret**, and **Token Endpoint**, among other details.
4. Copy these three values into your vault. The Client Secret is not shown again.

{% hint style="warning" %}
[Domain permissions](#grant-data-permissions-domains) and API Client scope are both required. If a data type is granted to\
the group but its functional area is missing here, calls for that data return **Unauthorized**. This is a common reason for one call (for example, Get\_Assets) failing while others work.
{% endhint %}

***

## Generate the Refresh Token

The Refresh Token is a long-lived key that lets Asset Panda Pro connect as the ISU without anyone signing in.&#x20;

1. In **Search**, enter <kbd>View API Clients</kbd>
2. Select the **API Clients for Integrations** tab and select **Asset Integration Client**.
3. Select <i class="fa-ellipsis">:ellipsis:</i> next to the name, and then select **API Client › Manage Refresh Tokens for Integrations**.
4. For **Workday Account**, select **ISU\_Asset\_Integration** and click **OK**.
5. Select **Generate New Refresh Token** and click **OK**.
6. Copy the **Refresh Token** into your vault. It’s shown only once.&#x20;

{% hint style="info" %}
If you later add functional areas to the API Client, generate a new Refresh Token. Old tokens can keep the old scope.
{% endhint %}

***

## Allow Asset Panda Pro’s IP addresses (if needed)&#x20;

{% hint style="info" %}
Skip this step if your tenant doesn’t limit sign-ins by IP address. Your Workday team will know. If you skip this and the connection later fails with **Unauthorized**, come back to this section.&#x20;
{% endhint %}

Before you start, ask Asset Panda Pro Support for the current list of IP addresses the integration connects from.&#x20;

1. In **Search**, enter <kbd>Maintain IP Ranges</kbd>.
2. Add a new range (for example, named Asset Panda Pro).
3. Enter each IP address from Asset Panda Pro support and click **OK**.&#x20;
4. In **Search**, enter <kbd>Manage Authentication Policies</kbd>.
5. Edit the authentication policy for your tenant.
6. Add a rule for the security group ISSG\_Asset\_Integration that allows the Asset Panda Pro IP range, then click **OK**.&#x20;
7. In **Search**, enter <kbd>Activate All Pending Authentication Policy Changes</kbd>.
8. Enter a comment, select **Confirm**, and click **OK**.

***

## Enter the details in Asset Panda Pro

Enter the following values on the Workday integration’s Configure screen in Asset Panda Pro. See [Set up the Workday integration in Asset Panda Pro](https://prohelp.assetpanda.com/integrations-store/operations-ops/workday-integration.md#set-up-the-workday-integration-in-asset-panda-pro).

{% hint style="warning" %}
These values give access to your Workday data, so enter them directly on the Configure screen and don’t send them by email or chat.
{% endhint %}

* Workday Host: Your Workday host (for example, **<https://wd2-impl-services1.workday.com>**)
* Tenant: Your tenant name (for example, **yourcompany\_impl1**)
* Client ID: Created when you [register the API Client](#register-the-api-client).
* Client Secret: Sensitive. Created when you [register the API Client](#register-the-api-client).
* Refresh Token: Sensitive. Created when you [Generate the refresh token](#generate-the-refresh-token).&#x20;

{% hint style="info" %}
The ISU password from [Create the Integration User (ISU)](#create-the-integration-user-isu) isn’t entered anywhere in Asset Panda Pro. Keep it in your vault.
{% endhint %}

***

## Troubleshooting

<table><thead><tr><th width="298.859375" valign="top">Issue</th><th valign="top">Cause/Fix</th></tr></thead><tbody><tr><td valign="top">Unauthorized on one service only (for example, Get_Assets fails while Get_Organizations works)</td><td valign="top">The service’s domain isn’t granted to the group, or its functional area is missing from the API Client scope. Check <a href="#grant-data-permissions-domains">Grant data permissions</a>, <a href="#register-the-api-client">register the API Client</a>, <a href="#activate-security-changes">activate</a>, then <a href="#generate-the-refresh-token">generate a new Refresh Token</a>.</td></tr><tr><td valign="top">Permissions changed but nothing is different</td><td valign="top">Changes weren’t activated. See <a href="#activate-security-changes">Activate security changes</a>.</td></tr><tr><td valign="top">All calls fail with Unauthorized or invalid_grant<br></td><td valign="top">The Refresh Token expired or was replaced, or the Client Secret changed. <a href="#generate-the-refresh-token">Generate a new Refresh Token</a> (and <a href="#register-the-api-client">register the API Client</a>, if<br>the secret was reissued).</td></tr><tr><td valign="top">All calls fail with <strong>Unauthorized</strong>, even though permissions look right</td><td valign="top">Your tenant may restrict sign-ins by IP address. See <a href="#allow-asset-panda-pros-ip-addresses-if-needed">Allow Asset Panda Pro's IP addresses</a>.</td></tr><tr><td valign="top">Fewer workers than expected</td><td valign="top"><p>Check these in order:</p><ol><li>The security group is Constrained and only covers some organizations. Switch to <strong>Unconstrained</strong> or add the missing organizations (See <a href="#create-the-security-group">Create the security group</a>). </li><li>One of the three <a href="#workers">worker</a><br>domains is missing. Add it and <a href="#activate-security-changes">activate security changes</a>. </li><li>The missing workers are terminated,<br>contingent or have a future hire date: confirm whether these should be included in the sync.</li></ol></td></tr><tr><td valign="top">Works in Implementation, fails in Production</td><td valign="top">This is expected. Tenants are separate. Repeat this guide in Production.</td></tr></tbody></table>
