> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neoagent.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Connecting Workday to Neo

> Register an API client in a client's Workday, make a refresh token for it, and save both in Neo

You connect Workday once for each client that uses it, with four values from that client's Workday tenant: the token endpoint, an API client's ID and secret, and a refresh token for it.

## 1. Set up Workday for Neo

The client's Workday administrator does these steps, in that client's Workday tenant.

**1. Create an integration system user**

Run **Create Integration System User** and make a user for Neo, such as `ISU_Neo`. Put it in an integration system security group (**Create Security Group**, type **Integration System Security Group (Unconstrained)**), and give that group **View** (or **Get**) on the domains of the data Neo reads. For a monthly billing extract: **Process: Customer Invoice - View** and **Process: Project Billing - View** (invoices), **View: Customer** (customers), and **View: Project** (each project's currency). For custom reports and WQL: **Workday Query Language**, and the domains of the report's data. Run **Activate Pending Security Policy Changes**.

**2. Register an API client**

Run **Register API Client for Integrations**. Give it a name, turn on **Non-Expiring Refresh Tokens**, and add the scopes of the data Neo reads, such as **Customer Accounts**, **Project Billing**, **Projects**, **Customers** and **System** (for WQL and reports). Copy the **Client ID** and **Client Secret**: Workday shows the secret once.

**3. Make a refresh token**

Run **View API Clients**, open the **API Clients for Integrations** tab, and on the client's menu choose **Manage Refresh Tokens for Integrations**. Pick the integration system user, select **Generate New Refresh Token**, and copy the token.

**4. Copy the token endpoint**

On **View API Clients**, copy the **Token Endpoint**, such as `https://wd2-impl-services1.workday.com/ccx/oauth2/acme/token`. It names the client's Workday host and tenant. The **Workday REST API Endpoint** on the same page works too.

**5. Share reports as web services (optional)**

For a report the client's finance team already keeps, such as an aged debt or work in progress report: copy it to a custom report if it is a standard one, select **Enable As Web Service**, and share it with the integration system user. Its web service URL names the owner and the report name the agent asks for.

## 2. Add the connection in Neo

**1. Open Integrations**

In the Neo Dashboard, open [**Integrations** → **Workday**](https://dashboard.neoagent.io/integrations?open=workday), under HR & Business Apps.

**2. Pick the client**

In **Customer**, choose the client this Workday tenant belongs to. The client must be on your **Companies** tab. For a second client, click **Add customer**.

**3. Save the connection**

Enter the **Token Endpoint**, the **Client ID**, the **Client Secret** and the **Refresh Token**, and click **Save settings**. Neo trades the refresh token for an access token before it saves, so a wrong value is rejected straight away, with what to fix.

> [!WARNING]
>
> When the client's Workday administrator revokes the refresh token or changes the API client's secret, make a new refresh token and save it here. Neo loses access to that client's Workday until you do.

## 3. Turn Workday on per agent

**1. Open the agent's tools**

Open the agent in the Neo Dashboard, go to its **Tools & Settings** tab and click **HR & Business Apps**.

**2. Pick a preset**

Expand the **Workday** block and pick one of its **Presets**, or set each permission group by hand.

| Preset | What it does |
| - | - |
| **Read Only** | Reads invoices, project billing, workers, time and the organization; changes nothing |
| **Helpdesk** | Reads the same; a change to a worker's job, time or a help case asks a technician |
| **IT Admin** | Changes workers, projects, billing, spend and help on its own; deciding a business process step or defining a custom object asks a technician |
| **Full Automation** | Every Workday call Neo sends, without approval, in every group |

Read Only, Helpdesk and IT Admin keep **Personal Details**, **Pay & Benefits** and **Reports & Queries** off: a custom report or WQL query reads any data the integration system user sees, personal and pay data included. Turn one on only for an agent that needs it, such as **Reports & Queries** for an agent that runs the finance team's own report.

What the agent can see is also limited by Workday's own security: a domain the integration system user's group lacks is refused by Workday, and the agent names it so the client's Workday administrator can grant it.

## 4. A monthly billing extract

To have Neo send a monthly extract of aged debt and billing work in progress, set up a scheduled agent that runs on the first day of each month: it reads the client's unpaid invoices and unbilled project transactions as of the last day of the month before, sorts the invoices into ageing buckets, and writes one CSV file per customer, each in its own currency. Ask your Neo Support Agent to set it up, and say which client, the columns you want, and where the files go.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.