Skip to content

Setting up an Anaplan Connection

Anaplan is a leading planning platform for modeling, forecasting, and scenario planning. Nexadata integrates directly with Anaplan in both directions: you can read model data and tenant-level audit and administrative data into Nexadata datasets, transform and map it, and load the results back into Anaplan through files, imports, and processes. For a summary of everything the connector supports, see the Anaplan integration page.

Here are the key features:

  • Two ways to sign in: Connect with an Anaplan username and password, or with OAuth through an Authorization Code Grant client that your Anaplan admin controls.

  • Model data in both directions: Run Anaplan export actions to read data, and upload files, run import actions, or run processes to load it.

  • Tenant-level data: Read audit Events, Users, Workspaces, and CloudWorks Jobs for security and compliance reporting.

  • Automatic token renewal: Nexadata renews its Anaplan access on its own, so scheduled Workflows keep running.

  • Region-ready endpoints: Every Anaplan API endpoint is set on the connection, so you can point it at your tenant’s region.

This article covers the setup in three parts. Parts 1 and 2 are usually completed with your Anaplan admin. Part 3 takes place in Nexadata.


Basic AuthenticationOAuth
What you enterThe Anaplan user’s Username and PasswordThe Client ID and Client Secret of an OAuth client in Anaplan
How you sign inNexadata signs in with the username and passwordYou click Connect to Anaplan and sign in to Anaplan in your browser
Single sign-onThe user must be able to sign in with an Anaplan password, not only SSOWorks with SSO users
What Nexadata keepsThe password, encryptedA refresh token, encrypted. No password is stored.
Best forQuick setup with a dedicated integration userOrganizations that require SSO or do not allow shared passwords

Either way, Nexadata acts as the Anaplan user who signs in, with that user’s workspace access and roles.


Use a dedicated integration user where you can, so the connection keeps working when people change roles or leave. The user needs:

To useThe Anaplan user needs
Export actions, import actions, processes, and filesAccess to each workspace and model, with a model role that can run those actions
Events (audit data)The Tenant Auditor role
UsersThe User Admin role
CloudWorks JobsThe Integration Admin role

Grant the tenant roles only if you plan to read that data. See Accessing Extended Data Sources in Anaplan.

Step 2: Create an OAuth Client (OAuth Only)

Section titled “Step 2: Create an OAuth Client (OAuth Only)”

Skip this step if you are using Basic Authentication.

  1. In Anaplan, open Administration, then Security, then OAuth clients, and create a new client.

  2. Enter a Name, for example Nexadata Authorization Code Grant, and set Type to Authorization code grant.

  3. In Allowed callback URLs, enter the Nexadata callback URL exactly as shown:

    https://app.nexadata.com/anaplan/oauth/callback

    If the URL is missing or does not match exactly, Anaplan rejects the sign-in. Copy the URL above rather than typing it.

  4. Set Refresh token behavior to Rotatable or Non-rotatable. Nexadata supports both.

  5. Set the Refresh token lifetime as long as your security policy allows. When it runs out, someone must sign in again from Nexadata.

  6. Check Enable this client and save.

  7. Copy the Client ID, then click Show next to Client secret and copy it. You will enter both in Nexadata in Part 3.

The Nexadata Authorization Code Grant OAuth client in Anaplan, with Enable this client checked, Type set to Authorization code grant, the Allowed callback URLs field highlighted and set to https://app.nexadata.com/anaplan/oauth/callback, the Client ID and Client secret with Copy and Show buttons, Rotatable refresh tokens, and a Refresh token lifetime of 43200.


  1. Go to Setup → Connections and click Create Connection, or click New Connection in the Quick Actions panel on the home screen.

  2. Enter a unique Name for the connection, for example Anaplan Production.

  3. Select Anaplan as the Connection Type.

  4. Under Auth type, select Basic Authentication or OAuth, then follow Step 2 or Step 3.

  1. Enter the Anaplan user’s Username and Password.

  2. Leave the endpoint URIs as they are, unless your tenant is hosted in another region. See Endpoint URIs.

  3. Click Verify Credentials. Nexadata signs in to Anaplan, and a green shield with a check mark appears when it succeeds.

  4. Click Submit. Submit becomes available only after the credentials are verified.

A completed Anaplan connection with Auth type set to Basic Authentication, a blurred Username, a masked Password, and the prefilled Authentication, Integration, Audit, SCIM, and Cloudworks URIs above Verify Credentials, Submit, and a green shield.

  1. Enter the Client ID and Client Secret from Part 2.

  2. Leave the endpoint URIs as they are, unless your tenant is hosted in another region. See Endpoint URIs.

  3. Click Connect to Anaplan. A new browser tab opens on the Anaplan sign-in page.

    The Create New Connection form with Anaplan as the Connection Type and OAuth as the Auth type. The Client ID (blurred) and the masked Client Secret are highlighted, above the prefilled OAuth, Integration, Audit, SCIM, and Cloudworks URIs, and the Connect to Anaplan button is highlighted at the bottom.

  4. Sign in as the Anaplan user that Nexadata should act as, and approve the request if Anaplan asks.

  5. When the tab shows SUCCESS! You may now close this window and navigate back to Nexadata., close it and return to Nexadata. An Anaplan connection successful message appears.

  6. Click Verify Credentials, then click Submit.

    The OAuth connection form after connecting to Anaplan, with the Client ID blurred and the Verify Credentials button, Submit button, and green shield highlighted at the bottom.


The connection stores one URI for each Anaplan API it uses. The defaults are for Anaplan’s standard US cloud.

URIDefaultUsed for
Authentication URIhttps://auth.anaplan.comSigning in with Basic Authentication
OAuth URIhttps://us1a.app.anaplan.com/auth/authorizeThe OAuth sign-in page
Integration URIhttps://api.anaplan.com/2/0Workspaces, models, exports, imports, processes, and files
Audit URIhttps://audit.anaplan.com/audit/api/1Events
SCIM URIhttps://api.anaplan.com/scim/1/0/v2Users
Cloudworks URIhttps://api.cloudworks.anaplan.com/2/0CloudWorks Jobs

If your tenant is hosted in another region or a private cloud, ask your Anaplan admin for your tenant’s values and replace the defaults. A wrong Audit, SCIM, or Cloudworks URI affects only the data that uses it, so the connection can verify while Events, Users, or CloudWorks Jobs datasets fail.


  • Basic Authentication: Nexadata signs in again on its own whenever its Anaplan session is about to expire. If the user’s password changes or expires, open the connection, enter the new Password, click Verify Credentials, and click Submit.

  • OAuth: Nexadata renews its access with the refresh token, and saves the new refresh token each time when the client uses Rotatable refresh tokens. You need to sign in again only when the refresh token’s lifetime runs out, the client is disabled, or the user loses access. If you change the Client ID or Client Secret on the connection, Nexadata shows Your Client ID or Client Secret has changed. Re-authorize with Anaplan before verifying. Click Re-authorize with Anaplan, sign in, and click Submit.

    An OAuth Anaplan connection after the Client ID was changed. The Client ID (blurred) and Client Secret are highlighted, and at the bottom the warning Your Client ID or Client Secret has changed. Re-authorize with Anaplan before verifying. is highlighted with the Re-authorize with Anaplan and Submit buttons.

Datasets and outputs that use the connection keep their settings either way.


  • “Unable to authorize with the Anaplan service. Please verify your Username and Password.” The username or password is wrong, the password has expired, or the user can sign in only with SSO. Sign in to Anaplan directly with the same password to check, or use OAuth.

  • Anaplan rejects the OAuth sign-in redirect. The Allowed callback URLs on the OAuth client do not include https://app.nexadata.com/anaplan/oauth/callback exactly.

  • “Unable to verify your Anaplan credentials. Please confirm your Client ID, Client Secret, and endpoint URIs are correct.” Check the Client ID and Secret, check that the OAuth client is enabled, and click Connect to Anaplan again.

  • Workspaces or models are missing in datasets and outputs. The user does not have access to them in Anaplan.

For more, see Troubleshooting an Anaplan Connection.