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
rolesattribute 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 newrolesattribute.
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:
- Go to Roles and Permissions in Ramp.
- Select the role you want to assign.
- Copy the Ramp Role ID shown beneath the role name in the drawer heading.

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
- In the Okta sidebar, go to Directory > Profile Editor.

- Select your Ramp application user profile.

- Click Add Attribute and configure the following:

- Set Data type to string array. Okta may show this as
arrayafter you save the attribute. - Set Display name to
Ramp role IDs. - Set Variable name to
rampRoleId. - Set External name to
roles. - Set External namespace to
urn:ietf:params:scim:schemas:core:2.0:User.
- 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 name | Value |
|---|---|
| Employee | ramp-employee |
| Accounting | ramp-accounting |
| AI Token Spend Admin | custom-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.

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

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

Configure the following settings. An example screenshot appears at the end of this section.
- Choose a display name and variable name that make sense for your organization.
- Set External name to
roles.^[type=='rampUserRole'].value. - Set External namespace to
urn:ietf:params:scim:schemas:core:2.0:User. - Add a description to help other administrators understand the attribute's purpose.
In the Attribute enum section, configure the following roles:
| Display name | Value |
|---|---|
| Admin | BUSINESS_ADMIN |
| Cardholder | BUSINESS_USER |
| Accounting | BUSINESS_BOOKKEEPER |
| Guest | GUEST_USER |
| IT Admin | IT_ADMIN |
We recommend leaving the role attribute optional. When no role value is specified, Ramp:
- Keeps the user's existing role when updating an existing user.
- Assigns
BUSINESS_USERwhen creating a new user.
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:
- Group membership
- Other profile attributes
- Any combination of conditions supported by Okta's expression language
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:
- Cardholder includes both users and Managers. Assign Managers the
BUSINESS_USERrole. - The
GUEST_USERrole can only be assigned during initial user creation. Consider using group-based assignments to ensure users who need the Guest role receive it during their initial provisioning. - The Owner role can't be assigned through Okta, so don't add
BUSINESS_OWNERto the attribute enum. To make someone the Owner, transfer business ownership in Ramp.

Example legacy Okta role attribute setup.