Log In to the Data Agent and Script Editor with Workday Credentials
Some links in this article go to the Workday Community. If you don't have
a Community account, request
one.
You can log into the Adaptive data agent using Workday Credentials when creating an agent if:
- User Sync completes from your Workday tenant.
- You register an API Client for your data agent and provide its information to the Workday Adaptive Planning Data Agent Manager.
The process requires two different Workday API registrations grant types:
- An authorization code grant for provisioning the data agent, for user interface log in by an Adaptive Planning user.
- After provisioning the agent, a JWT bearer grant for non user interface token exchanges as an integration service account that doesn't depend on the Adaptive Planning user interface login.
Prerequisites
In Adaptive Planning
Security:
Data Designer
permission.In Workday
- Security required for to register an API client.
- Enable Public APIs on theAdaptive Planningtab of theTenant Setupreport. SeeSteps: Configure Adaptive Planning for HCM and Financials.
- For Data Agents v12.0.240 and newer, create an ISU. See the ISU steps in Steps: Enable Planning Data Sources After User Sync.For Data Agent 12.0.240 and newer, the user signing in doesn't need theSetup: Adaptive Planning API Accessdomain security policy in Workday.
- Assign the ISU to the Adaptive ISU security group.
On the network hosting the Data Agent and Workday Adaptive Planning Data Agent Manager
Verify that firewall and network settings can access Workday IP addresses. See Adaptive Planning Authentication URLs and IP Addresses.
Enter Workday API Client Details in the Workday Adaptive Planning Data Agent Manager
- Verify that Enable Public APIs was turned on within theAdaptive Insightstab inWorkday Tenant Setup.
- Register an API Client in Workday specifically for the data agent usingAuthorization Code Grantwith aBeareraccess token. This authorization code grant is used to log in to the agent service and provision the agent with a user interface. See Register API Clients.
- SelectNon-Expiring Refresh Tokens.
- SetScope (Functional Areas)toSystemand addAdaptive Planning.
- SelectOKto generate the key, secret, and other details that identify your new integration client.
- Copy theAuthorization End Point, Token End Point, Client ID,andClient Secretto enter them once the Data Agent Manager starts.
- Start the Workday Adaptive Planning Data Agent Manager on the local computer.
- SelectDiagnose and Configure Network.
- Select theWorkdaytab.
- Enter the information generated when registering the API client in Workday:
- Authorization End Point
- Token End Point
- Client ID copied from Workday
- Client Secret copied from Workday
- TheRedirect URLmust match theRedirection URIhttps://www.workday.comentered when registering the API client.
- SelectSign in with Workdayand sign in the Data Agent Manager.For Data Agent 12.0.240 and newer, the user signing in doesn't need theSetup: Adaptive Planning API AccessDomain security policy in Workday.
- If you use Data Agent 12.0.239 and older, stop here. For Data Agent 12.0.240 and newer, continue to the next step
- SelectDiagnose and Configure Network Options.
- Select theWorkday Integrationtab.
- Configure theWorkday Integrationtab and register an API client in Workday specifically for the data agent. See Register API Clients. When you register the API client, use aJWT Beareraccess token for nonuser interface token exchanges that don't depend on Adaptive Planning user interface login users:
- In thex509 Certificatesection, selectCreate x509 Public Key, specify a name, and paste theCertificatecopied from the Workday Adaptive Planning Data Agent ManagerWorkday Integrationtab.
- Set Scope (Functional Areas) toSystemand addAdaptive Planning.
- SelectOKto generate the Client ID, Token End Point, and other details that identify your new integration client.
- Copy theClient IDandToken End Point. You need these once the Workday Adaptive Planning Data Agent Manager starts.
- Enter the information generated when registering the API client for yourJWT Beareraccess token in Workday:
- Client IDcopied from Workday.
- ISUcopied from in Workday. You may need to ask your admin to provide the ISU.
- Token End Pointcopied from Workday.
- Certificate(Read-only).
- SelectApply Workday Integration Settings.
- Log in to the Adaptive Script Editor with Workday Credentials
- Once you enter the API client information for your data agent, you can copy it into the Workday tab in the Adaptive Script Editor.
- Launch the Adaptive Script Editor on your local computer. Navigate toAdaptive Data Agent>Adaptive Script Editor.
- Select theWorkdaytab in the Script Editor.
- Paste in these fields from your Data Agent:
- Authorization End Point.
- Token End Point.
- Client IDcopied from Workday.
- Client Secretcopied from Workday.
- TheRedirect URLmust match theRedirection URIhttps://www.workday.comentered when registering the API client.
- Select theIntegrationtab.
- SelectSign In with Workday.
- Provide your Workday Credentials.
- If you use Data Agent 12.0.239 and older, stop here.
- For Data Agent 12.0.240 and newer, configure the Workday Integration tab.
- Enter the information generated when registering the API client for yourJWT Beareraccess token in Workday:
- Client IDcopied from Workday.
- ISUcopied from in Workday. You may need to ask your admin to provide the ISU.
- Token End Pointcopied from Workday.
- Certificate(Read-only).
- Install Adaptive Script Editor Adaptive Planning Input and Output Plugins with Workday Credentials
- The Adaptive Planning Input and Adaptive Planning Output plugins in the script editor run without a user interface. They require a JWT bearer grant and an Integration System User (ISU) because an individual doesn't sign in each time.
- Open the Adaptive Script Editor on the local computer and sign in.
- Create a new transformation or job, or open an existing one.
- Drag theAdaptive Planning OutputorAdaptive Planning Inputplugin in, and right-click it to selectEdit.
- In theInstance Connectiontab, changeLogin methodtoWorkday.
- Copy all of the contents of theCertificatefield. This certificate identifies that this plugin is authorized to communicate with Workday. Don't close the script editor until you complete the API Client Registration in Workday and editor plugin setup.
- Register an API Client in Workday
- Open a browser and sign in to Workday as super user.
- Search Workday forRegister API Client.
- SetClient Grant TypetoJWT Bearer Token.
- In thex509 Certificatesection, selectCreate x509 Public Key, specify a name, and paste theCertificatecopied from the Adaptive Planning Data Agent Service ManagerWorkday Integrationtab.
- SetScopetoAdaptive Planning.
- Enterhttps://www.workday.comforRedirection URL.
- SelectOKto save and keep this page open so you can copy theClient IDandToken End Pointfrom it.
- Complete Plugin Set Up in the Script Editor
- Use the API Client ID, Token End Point, and ISU to complete the plugin setup.
- Go back to the Adaptive Script Editor to paste theClient IDandToken End Pointfrom Workday.
- ISUcopied from in Workday. You may need to ask your admin to provide the ISU. See Steps: Configure Workday to Import Data to Adaptive Planning for more on creating an ISU.
- SelectOKto save.
User Sync and Preexisting Data Agents
Follow the steps below both before and after running user sync from Workday to ensure your data agent continues to run without interruptions.
Before Running User Sync
- Start the Workday Adaptive Planning Data Agent Manager on the local computer.
- SelectDiagnose and Configure Network.
- Select theWorkdaytab.
- Enter the information generated when registering the API client in Workday:
- Authorization End Point
- Token End Point
- Client ID copied from Workday.
- Client Secret copied from Workday.
- TheRedirect URLmust match theRedirection URIhttps://www.workday.comentered when registering the API client.
After Running User Sync from Workday
Configure the
Workday Integration
tab following user sync.- Select theWorkday Integrationtab.
- Register an API client in Workday specifically for the data agent using aJWT Beareraccess token. See Register API Clients.
- Createx509 Public Keyand paste theCertificatecopied from the Workday Adaptive Planning Data Agent ManagerWorkday Integrationtab.
- Set Scope (Functional Areas) toSystemandAdaptive Planning.
- SelectOKto generate theClient ID,Token End Point, and other details to identify your new integration client.
- Copy theClient ID,ISU,Token End Point. You need these once the Workday Adaptive Planning Data Agent Manager starts.
- Start the Workday Adaptive Planning Data Agent Manager on the local computer.
- SelectDiagnose and Configure Network.
- Select theWorkday Integrationtab.
- Enter the information generated when registering the API client for yourJWT Beareraccess token in Workday:
- Client IDcopied from Workday.
- ISUcopied from in Workday. You may need to ask your admin to provide the ISU.
- Token End Pointcopied from Workday.
- Certificate(Read-only).
- Launch the data agent and selectSign in with Workdayand sign in.