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

# Workday Adaptive Planning

> Integrate your application with the Workday Adaptive Planning API

## 🚀 Quickstart

Connect to Workday Adaptive Planning with Nango and see data flow in 2 minutes.

<Steps>
  <Step title="Create an integration">
    In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *Workday Adaptive Planning*.
  </Step>

  <Step title="Connect Workday Adaptive Planning">
    Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* and fill in your credentials. Later, you'll let your users do the same directly from your app.
  </Step>

  <Step title="Call the Workday Adaptive Planning API">
    The Adaptive Planning API uses XML-based requests. Authentication requires passing the `AdaptiveAPIAccessToken` (stored in your Nango connection) inside the XML `credentials` element — Basic auth with username/password won't work.

    Replace the placeholders below with your [secret key](https://app.nango.dev/dev/environment-settings), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

    <Tabs>
      <Tab title="cURL">
        ```bash theme={null}
        # Step 1: Retrieve the AdaptiveAPIAccessToken from Nango
        TOKEN=$(curl -s "https://api.nango.dev/connection/<CONNECTION-ID>?provider_config_key=<INTEGRATION-ID>" \
          -H "Authorization: Bearer <NANGO-SECRET-KEY>" | jq -r '.credentials.token')

        # Step 2: Use the token in an Adaptive Planning XML API request
        curl -X POST "https://api.nango.dev/proxy/api/v40" \
          -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
          -H "Provider-Config-Key: <INTEGRATION-ID>" \
          -H "Connection-Id: <CONNECTION-ID>" \
          -H "Content-Type: application/xml" \
          -d "<?xml version='1.0' encoding='UTF-8'?>
        <call method=\"exportLevels\" callerName=\"your-app\">
          <credentials token=\"$TOKEN\"/>
          <include versionID=\"3\" inaccessibleValues=\"false\"/>
        </call>"
        ```
      </Tab>

      <Tab title="Node">
        Install Nango's backend SDK with `npm i @nangohq/node`. Then run:

        ```typescript theme={null}
        import { Nango } from '@nangohq/node';

        const nango = new Nango({ secretKey: '<NANGO-SECRET-KEY>' });

        // Step 1: Retrieve the AdaptiveAPIAccessToken from the Nango connection
        const connection = await nango.getConnection('<INTEGRATION-ID>', '<CONNECTION-ID>');
        const token = connection.credentials.token;

        // Step 2: Use the token in an Adaptive Planning XML API request
        const res = await nango.post({
            endpoint: '/api/v40',
            providerConfigKey: '<INTEGRATION-ID>',
            connectionId: '<CONNECTION-ID>',
            headers: { 'Content-Type': 'application/xml' },
            data: `<?xml version='1.0' encoding='UTF-8'?>
        <call method="exportLevels" callerName="your-app">
          <credentials token="${token}"/>
          <include versionID="3" inaccessibleValues="false"/>
        </call>`
        });

        console.log(res.data);
        ```
      </Tab>
    </Tabs>

    Or fetch credentials with the [Node SDK](/reference/sdks/node#get-a-connection-with-credentials) or [API](/reference/api/connection/get).

    ✅ You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.
  </Step>

  <Step title="Implement Nango in your app">
    Follow our [Auth implementation guide](/guides/primitives/auth) to integrate Nango in your app.

    To set up your own credentials, follow the setup guide linked below.
  </Step>
</Steps>

<Tip>
  Next step: [Embed the auth flow](/guides/primitives/auth) in your app to let your users connect their Workday Adaptive Planning accounts.
</Tip>

## 📚 Workday Adaptive Planning Integration Guides

Nango maintained guides for common use cases.

* [How do I link my Workday Adaptive Planning account?](/api-integrations/workday-adaptive-planning/connect)\
  Learn what credentials you need and how to authenticate with Workday Adaptive Planning

Official docs: [Workday API documentation](https://doc.workday.com/adaptive-planning/en-us/workday-adaptive-planning-documentation/integration/managing-data-integration/api-documentation/understanding-the-adaptive-planning-rest-api/bit1623710301264.html?toc=13.1.4.1.3)

## 🧩 Pre-built syncs & actions for Workday Adaptive Planning

Enable them in your dashboard. Extend and customize to fit your needs.

*No pre-built syncs or actions available yet.*

<Tip>Not seeing the integration you need? [Build your own](/guides/functions/functions-guide) independently.</Tip>

***
