Provisioning people with SCIM (Okta, Entra ID)
With SCIM, your identity provider adds people to the Trakkwise console, sets their role from their groups, and removes them when they leave. You don't need to invite anyone. Single sign-on must be set up first (Settings → Single Sign-On, steps 1 to 3).
1. Create a token
Settings → Single Sign-On → 4 · Provisioning (SCIM) → Create token. Copy
it: it is shown once. The page also shows the SCIM base URL,
https://<your ingest address>/v1/scim/v2.
2. Map groups to roles
On the same card, name the group for each role, for example Trakkwise Admins
for Admin and Security for Analyst. Group names are matched without regard to
case.
- Someone in several mapped groups gets the highest role.
- Someone in none gets the default role ("Everyone else provisioned").
Saving re-checks the role of everyone already provisioned.
3. Connect the identity provider
Okta: in the Trakkwise app (or a SCIM 2.0 app with OAuth Bearer Token authentication):
- Provisioning → Integration → SCIM connector base URL: the URL above.
Unique identifier field:
userName. Authentication: HTTP Header, Bearer, then paste the token. - Enable Create Users, Update User Attributes and Deactivate Users.
- Assign people, and under Push Groups push the mapped groups.
Microsoft Entra ID:
- Enterprise applications → the Trakkwise app → Provisioning → Automatic. Tenant URL: the URL above. Secret token: the token. Test Connection.
- Under Mappings, keep
userPrincipalName(ormail) →userName. - Assign users and the mapped groups, then start provisioning.
Cost centers for chargeback (optional)
Spend → Chargeback can bill AI spend to each person's cost center, department,
division or organization. These come from SCIM's enterprise user extension
(urn:ietf:params:scim:schemas:extension:enterprise:2.0:User, RFC 7643
§4.3): costCenter, department, division and organization.
- Entra ID: under Mappings → Provision Microsoft Entra ID Users, check
that
departmentmaps tourn:ietf:params:scim:schemas:extension:enterprise:2.0:User:department. To send cost centers, add a mapping from the attribute that holds them (for example an extension attribute) to…:enterprise:2.0:User:costCenter. - Okta: in the app's Profile Editor, add or map the enterprise attributes
you use (
costCenter,department,division,organization, external namespaceurn:ietf:params:scim:schemas:extension:enterprise:2.0:User) from the Okta user profile, then push the attributes again.
Then choose which one is the cost center under Spend → Chargeback. People the identity provider doesn't cover can be given a cost center with a spreadsheet on the same page.
What happens
| At the identity provider | In Trakkwise |
|---|---|
| Person assigned | Becomes a member with the mapped role; signs in with SSO as usual |
| Added to or removed from a mapped group | Role re-derived at once |
| Deactivated, unassigned or deleted | Removed from the organization; their console sessions end at once |
| Reactivated | Back, with the role their groups give |
| Email changed | Treated as a new person; the old address loses access |
Members created this way show Provisioned under Settings → Members. An admin can still change a role there, but the next update from the identity provider sets it back from the groups.
The last admin is safe. Provisioning never removes or demotes the organization's last admin. A deactivation that would do so is refused with an error the identity provider reports, so make someone else an admin first.
What is stored
Trakkwise stores only what it needs to match people and groups:
- each person's userName, email, display and given and family names, external ID, and whether they are active;
- their cost center, department, division and organization, when the identity provider sends them (for chargeback);
- each group's name and external ID, and who is in it.
Phone numbers, addresses, titles, managers, employee numbers and other attributes the identity provider sends are ignored.