> ## Documentation Index
> Fetch the complete documentation index at: https://stackone-hub-docs-confluence-api-token-update.mintlify.site/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-docs-confluence-api-token-update/lMwMaErGDlYR1KkK/images/workday-oauth2/image1.png?fit=max&auto=format&n=lMwMaErGDlYR1KkK&q=85&s=75411e72ec7dcee800a11ca939c7290b" 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-docs-confluence-api-token-update/lMwMaErGDlYR1KkK/images/workday-oauth2/image2.png?fit=max&auto=format&n=lMwMaErGDlYR1KkK&q=85&s=49c22fa0c750a9856cebe3879b065bb9" 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-docs-confluence-api-token-update/w__eN0U5iLwN8ehP/images/workday/wql-register-api.png?fit=max&auto=format&n=w__eN0U5iLwN8ehP&q=85&s=e9638743a801791364a366f25517bc9a" 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-docs-confluence-api-token-update/lMwMaErGDlYR1KkK/images/workday-oauth2/image4.png?fit=max&auto=format&n=lMwMaErGDlYR1KkK&q=85&s=491ea06b02d61ec922456a7cdde658aa" 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-docs-confluence-api-token-update/lMwMaErGDlYR1KkK/images/workday-oauth2/image5.png?fit=max&auto=format&n=lMwMaErGDlYR1KkK&q=85&s=0590656c0c3632a9214a025b4fb6ab81" 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-docs-confluence-api-token-update/lMwMaErGDlYR1KkK/images/workday-oauth2/image6.png?fit=max&auto=format&n=lMwMaErGDlYR1KkK&q=85&s=887fdde5ebcda89e42b606fa3568aad4" 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-docs-confluence-api-token-update/Cmc9v6zkKIhKV8Me/images/workday-oauth2/image7.png?fit=max&auto=format&n=Cmc9v6zkKIhKV8Me&q=85&s=89b121f9a27b60e13bfffe42d79d52fe" 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-docs-confluence-api-token-update/Cmc9v6zkKIhKV8Me/images/workday-oauth2/image8.png?fit=max&auto=format&n=Cmc9v6zkKIhKV8Me&q=85&s=cc1e0b12a78710f00209a2b92baaabc4" 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-docs-confluence-api-token-update/w__eN0U5iLwN8ehP/images/workday/wql-connect-account.png?fit=max&auto=format&n=w__eN0U5iLwN8ehP&q=85&s=4ac85f9ad200df60ec80725b74400974" width="491" height="736" data-path="images/workday/wql-connect-account.png" />
</Frame>

<br />

Congratulations, you're all set! If you face any issues with the steps mentioned above,
please contact us by emailing [integrations@stackone.com](mailto:integrations@stackone.com). We're always here to assist you!

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