Okta integration: Set up role assignments

Overview

Use your existing SCIM integration to assign Ramp roles from Okta. If you haven't connected Okta yet, see Set up Ramp's SCIM integration with Okta.

We recommend assigning roles by Ramp Role ID for greater flexibility. We still support legacy role labels for single system-role assignments through the legacy role-label setup.

Note: Role assignments from Okta are currently only supported for businesses with access to the full Ramp suite, including card issuing. Other Okta SCIM features are still fully available.

Assign roles by Ramp Role ID in Okta

If you currently use legacy role labels, follow Migrate from legacy role labels to Ramp Role IDs before changing your configuration.

The roles attribute accepts a string array of Ramp Role IDs. You can assign built-in roles and Custom Roles, including multiple roles to a single user. Creating or editing a Custom Role has separate account feature-access and permission requirements. The SCIM and Ramp Role ID requirements in this section still apply when assigning an existing role.

Not every business has access to Ramp Role ID assignment yet. If Okta reports the error SCIM role slug assignments are not enabled for this business, Ramp Role ID assignment is not available for your business. To request access, contact Ramp Support. Until access is enabled, remove the Ramp Role ID attribute (external name roles) from your Ramp application user profile in Okta's Profile Editor, then assign one system role with the legacy role-label setup. Okta does not send rampUserRole assignments to Ramp while both role attributes are present.

Important: After you add the Ramp Role ID roles attribute to your Okta profile, use it for every new user and every role update. When both role attributes are present in Okta, assignments made only through the legacy role-label attribute (rampUserRole) are not included in the SCIM request Okta sends to Ramp. Existing users keep their current roles until you change those roles through the new roles attribute.

If ramp-admin is included with other Ramp Role IDs, Ramp assigns the Admin role and ignores the other roles.

Not all role combinations are valid — for example, Custom Roles can only be assigned to users with Employee, Accounting, or IT Admin as their base role. See User roles overview for details.

Find your Ramp Role IDs

Ramp Role IDs are stable identifiers that do not change when a role is renamed. To find a role's Ramp Role ID:

  1. Go to Roles and Permissions in Ramp.
  2. Select the role you want to assign.
  3. Copy the Ramp Role ID shown beneath the role name in the drawer heading.

Ramp role drawer showing the Ramp Role ID beneath the role name

You will need the Ramp Role ID for each role you want to assign via SCIM. For example, the built-in Employee role has the Ramp Role ID ramp-employee, and the built-in Accounting role has the Ramp Role ID ramp-accounting. Custom Roles have Ramp Role IDs set when the role is created.

To review all roles at once, select the download button to download a CSV list of all roles.

Set up the attribute in Okta

  1. In the Okta sidebar, go to Directory > Profile Editor.

Okta sidebar with Directory expanded and Profile Editor selected

  1. Select your Ramp application user profile.

Okta Profile Editor showing the Ramp User application profile

  1. Click Add Attribute and configure the following:

Ramp User Profile Editor with Add Attribute button highlighted

  1. Enable the Enum checkbox (Define enumerated list of values). Add an entry for each role you want to make available for assignment. For each entry, set the Display name to a human-readable label and the Value to the Ramp Role ID you copied from Ramp.

For example:

Display nameValue
Employeeramp-employee
Accountingramp-accounting
AI Token Spend Admincustom-ai-token-spend-admin

These are examples — your attribute values must match the Ramp Role IDs from your own business's Roles and Permissions in Ramp.

Once configured, provisioned users should appear in Ramp with their updated roles within approximately 10 minutes.

For more information on setting up multi-value role attributes in Okta, see Okta's guide on multi-value roles in SCIM.

Migrate from legacy role labels to Ramp Role IDs

Important: Before migrating your whole organization from legacy role labels to Ramp Role IDs, test the new assignments with a small group first. After provisioning, confirm that each user's roles and reporting structure match what you expect before moving the rest of your team.

When you migrate an existing user from legacy role labels to Ramp Role IDs, include every role the user needs in the new roles attribute. Before migrating the user, confirm their base role, Manager role, and any Custom Role add-ons, then add the corresponding Ramp Role IDs to the user's roles value. A SCIM update can remove role access that is not included in the new attribute. An existing Manager role is preserved even if it is not included in the new assignments.

Example SCIM role entry:

{
  "roles": ["ramp-accounting", "custom-ai-token-spend-admin"]
}

Legacy: Assign roles by role label in Okta

Legacy role labels, such as BUSINESS_USER, assign one system role per user through the rampUserRole attribute.

Roles are applied when users are created or updated, similarly to manual role updates in Ramp. If a role update fails, an error appears in Ramp's People tab.

In the Okta sidebar, go to Directory > Profile Editor.

Okta sidebar with Directory expanded and Profile Editor selected

Select your Ramp application user profile. Its name depends on your initial Ramp configuration.

Okta Profile Editor showing the Ramp User application profile

Click Add Attribute to create a new attribute for role assignments.

Ramp User Profile Editor with Add Attribute button highlighted

Configure the following settings. An example screenshot appears at the end of this section.

In the Attribute enum section, configure the following roles:

Display nameValue
AdminBUSINESS_ADMIN
CardholderBUSINESS_USER
AccountingBUSINESS_BOOKKEEPER
GuestGUEST_USER
IT AdminIT_ADMIN

We recommend leaving the role attribute optional. When no role value is specified, Ramp:

To assign roles to users, navigate to the Profile Mappings section of your application. Here you can create rules to automatically assign roles based on:

Once configured, users provisioned to Ramp receive roles based on your mapping rules. Users should appear in Ramp's People tab with their updated roles within approximately 10 minutes of provisioning.

For more information, see Okta's guide to multi-value role attributes in SCIM.

Role assignment limitations:

Okta Add Attribute form with role values configured for Ramp roles

Example legacy Okta role attribute setup.