> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/integrations/catalog/workday/connect-workday.md).

# Connect Workday

Choose the connector that matches your authentication method. The options below use the names shown in StackAI.

| Connector | Authentication |
| --------- | -------------- |
| Workday   | Credentials    |

### Workday

Connect to Workday API using refresh token authentication to access HR, finance, and planning data.

#### Set up in Workday

1. In Workday, run the Register API Client for Integrations task. Select System in Scope (Functional Areas), then copy the Client ID and Client Secret.
2. Give the Workday account used for the refresh token access to execute reports and the Workday Query Language domain in the System functional area. Also grant access to every data source and field that your WQL queries use.
3. In View API Clients, open the registered client, choose Manage Refresh Tokens for Integrations, select the Workday account, and generate a refresh token.
4. Copy the exact Token Endpoint shown in View API Clients. A tenant endpoint commonly has the form `https://<host>/ccx/oauth2/<tenant>/token`; a WCP Gateway client uses its assigned regional authorization endpoint, such as `https://<region-auth-host>/v1/token`. Do not derive this value from the Base URL.

#### Set up in StackAI

1. Open **Settings → Connections**, add a connection, and select **Workday**.
2. Enter the credentials and connection details in the fields below.
3. Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.

**Connection fields**

| StackAI field             | Required                 | What to enter                                                                                                                                       |
| ------------------------- | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| Refresh Token             | Yes                      | A valid refresh token obtained from Workday OAuth flow. Workday may rotate it on use, in which case the new value is stored automatically.          |
| Client Secret             | Yes                      | Your Workday API Client Secret.                                                                                                                     |
| Client ID                 | Yes                      | Your Workday API Client ID.                                                                                                                         |
| Base URL                  | Yes                      | Your HTTPS Workday host or exact WQL base URL. Host-only, legacy /ccx/api, current /api/wql, and api.workday.com WQL Gateway formats are supported. |
| Tenant                    | Yes                      | Your case-sensitive Workday tenant identifier.                                                                                                      |
| Token Endpoint            | Yes                      | The exact HTTPS OAuth token endpoint copied from Workday View API Clients.                                                                          |
| Request Timeout (seconds) | Optional / as applicable | Timeout for each Workday HTTP attempt, in seconds.                                                                                                  |

**Provider documentation:** [Setup reference](https://developer.workday.com/documentation/GUID-6546152a-bcf0-447d-8d64-230f9e2ac291-enHYPHENus).

### Verify the connection

Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.

If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.

## Connection fields and action reference

See [Workday](https://docs.stackai.com/integrations/catalog/workday.md) for the current connector fields and supported actions.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stackai.com/integrations/catalog/workday/connect-workday.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
