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

# Workday Learning (REST API)

> If you've been directed to StackOne to integrate with Workday Learning (REST API), the following steps will help you understand the process and any necessary actions to configure successful integration.

<Warning>
  This guidance assumes you have Admin privileges for your Workday account.
</Warning>

## Finding your Workday Tenant

<Steps>
  <Step title="Log into Workday">
    Log into your Workday account. Look at the address bar at the top of the browser window where the URL is displayed. Find your tenant immediately after `workday.com/`.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Workday Tenant" src="https://mintcdn.com/stackone-hub/GaVO021IWanbXpo-/images/workday-oauth2/image1.png?fit=max&auto=format&n=GaVO021IWanbXpo-&q=85&s=eb78c2bcce11454d1057066e6d0e51e4" width="2880" height="1532" data-path="images/workday-oauth2/image1.png" />
    </Frame>
  </Step>
</Steps>

## Register the Rest API Client

<Steps>
  <Step title="Go to Register API Client">
    Go to the `Register API Client for Integration` Task.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Human Resources Web Service" src="https://mintcdn.com/stackone-hub/GaVO021IWanbXpo-/images/workday-oauth2/image2.png?fit=max&auto=format&n=GaVO021IWanbXpo-&q=85&s=9f009e74b75306e7becacc45247babe0" width="1918" height="817" data-path="images/workday-oauth2/image2.png" />
    </Frame>
  </Step>

  <Step title="Register API Client">
    Register the API Client with the following details and then click on **OK** button

    * **Client Name**: e.g. StackOne\_Integrations
    * **Non-Expiring Refresh Tokens**: Check the box
    * **Scopes**: Select the required functional scopes to enable data access via API.

    Learning Core
    Worker Profile and Skills

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="WSDL Service" src="https://mintcdn.com/stackone-hub/fw0ADUeSnmIHCCub/images/workday/wql-register-api.png?fit=max&auto=format&n=fw0ADUeSnmIHCCub&q=85&s=baffdedff8b3e5682f9ddd36bab84353" width="801" height="668" data-path="images/workday/wql-register-api.png" />
    </Frame>
  </Step>

  <Step title="Copy the credentials">
    After registering the client, you will be redirected to a page displaying the **Client ID** and **Client Secret**. Make sure to copy and securely store these credentials.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="WSDL Service" src="https://mintcdn.com/stackone-hub/GaVO021IWanbXpo-/images/workday-oauth2/image4.png?fit=max&auto=format&n=GaVO021IWanbXpo-&q=85&s=bbdb28a842b3d200b88905a2d770b9d4" width="1915" height="725" data-path="images/workday-oauth2/image4.png" />
    </Frame>
  </Step>

  <Step title="Generate the Refresh token">
    Follow the steps below to generate the refresh tokens.

    * At the top of the page, click the **menu (⋯)** icon.
    * Select **API Client** from the menu.
    * Click on **Manage Refresh Tokens for Integrations**.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="WSDL Service" src="https://mintcdn.com/stackone-hub/GaVO021IWanbXpo-/images/workday-oauth2/image5.png?fit=max&auto=format&n=GaVO021IWanbXpo-&q=85&s=a0287b39875e5afb6dd3c6c59332280f" width="1906" height="718" data-path="images/workday-oauth2/image5.png" />
    </Frame>

    Once you select **menu (⋯) → API Client → Manage Refresh Tokens for Integrations**, you will be redirected to a screen to choose your Workday account. Select the account and click **OK**.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="WSDL Service" src="https://mintcdn.com/stackone-hub/GaVO021IWanbXpo-/images/workday-oauth2/image6.png?fit=max&auto=format&n=GaVO021IWanbXpo-&q=85&s=ca0cd6e83375340f630e9ddb98e4fa9a" width="1908" height="787" data-path="images/workday-oauth2/image6.png" />
    </Frame>

    Once you're on the Refresh Token page, select **Generate New Refresh Token** and click **OK**.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="WSDL Service" src="https://mintcdn.com/stackone-hub/GaVO021IWanbXpo-/images/workday-oauth2/image7.png?fit=max&auto=format&n=GaVO021IWanbXpo-&q=85&s=edcb2aaa393d119b1d63457de9b6fece" width="2814" height="1078" data-path="images/workday-oauth2/image7.png" />
    </Frame>

    Once the refresh token is generated successfully, copy the token and click Done.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="WSDL Service" src="https://mintcdn.com/stackone-hub/GaVO021IWanbXpo-/images/workday-oauth2/image8.png?fit=max&auto=format&n=GaVO021IWanbXpo-&q=85&s=aa6c630b695d71abcbedad666313c731" width="1913" height="726" data-path="images/workday-oauth2/image8.png" />
    </Frame>
  </Step>
</Steps>

## Linking to StackOne

You can use the **Client ID**, **Client Secret** and **Refresh Token** credentials you created in steps 3 and 4 to link Workday.

<Frame>
  <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Link to StackOne" src="https://mintcdn.com/stackone-hub/fw0ADUeSnmIHCCub/images/workday/wql-connect-account.png?fit=max&auto=format&n=fw0ADUeSnmIHCCub&q=85&s=a06354d1d18d71d3e15ab56a6d46a577" width="491" height="736" data-path="images/workday/wql-connect-account.png" />
</Frame>

<Card title="Useful Links" icon="link" href="https://doc.workday.com">
  [https://doc.workday.com](https://doc.workday.com)
</Card>
