Before you begin
You’ll need:- The Admin role in your ClickHouse Cloud organization.
- SAML SSO already configured between your IdP and ClickHouse Cloud. SCIM creates the user accounts; those accounts sign in through SAML, so SSO must be working first.
- Super-admin access to your Okta tenant, with permission to install applications and configure provisioning.
- A list of the roles you want to assign through SCIM (for example: Admins, Developers, Read-only). Decide this up front — you’ll create matching groups in Okta.
How SCIM works with ClickHouse Cloud
- An admin in Okta assigns a user — directly or through a group — to the ClickHouse Cloud application.
- Okta calls the ClickHouse Cloud SCIM endpoint over HTTPS, authenticated with a token you generate.
- ClickHouse Cloud creates the user in your organization and assigns roles based on Okta group membership.
- The user signs in to ClickHouse Cloud through your existing SAML SSO flow.
- Profile changes, group changes, and deactivation in Okta propagate to ClickHouse Cloud automatically.
Configure SCIM on your ClickHouse Cloud organization
Enable SCIM

Enable SCIM. SCIM is unlocked once SAML SSO is connected — if the option is greyed out, finish your SAML setup first.
Generate a SCIM access token
Create an API key section and choose an expiration date.Click Generate key. The token is shown once, as a key (prefixed scim_) and a secret. Copy both immediately and store them in a secure secrets manager — they can’t be retrieved later. If you lose them, revoke the token and generate a new one.
Define the role mapping
- You can’t map a SCIM group to a predefined system role. SCIM mappings apply only to custom roles. If you need to expose a system-level capability through SCIM, create a custom role that wraps the permissions you want.
- Matching names auto-link. If a custom role has the same name as the incoming SCIM group, ClickHouse Cloud links them automatically — no manual mapping needed.
- To use a different role name than the group name, create the custom role with the role name you want, then set its SCIM group field to the name of the SCIM group it should bind to.
- Unmapped groups create new roles. If Okta pushes a group that doesn’t match an existing role name and isn’t referenced by any role’s
SCIM groupfield, ClickHouse Cloud creates a new custom role with that group’s name. You can then grant it the permissions you want.
Configure the ClickHouse Cloud application in Okta
Open your ClickHouse Cloud application in Okta
Edit. Under Provisioning, select SCIM, then click Save.

Connect Okta to the SCIM endpoint
Edit. Fill in the form:- SCIM connector base URL — the SCIM endpoint URL from earlier.
- Unique identifier field for users —
userName. - Supported provisioning actions — select all of the following:
- Import New Users and Profile Updates
- Push New Users
- Push Profile Updates
- Push Groups
- Import Groups
- Authentication Mode —
Basic Auth.-
Username — the SCIM token key (it starts with
scim_). -
Password — the SCIM token secret.


-
Username — the SCIM token key (it starts with
Test Connector Configuration. You should see a green confirmation. If it fails, jump to Troubleshooting.
Save.Configure provisioning behavior
To App in the left sidebar. Click Edit and enable:
Save, then return to the application’s Sign On / Provisioning tabs to confirm the settings are in place.
Map user attributes
To App and review the Attribute Mappings for your application. The defaults from the Okta SAML application are usually fine — verify the table below:Push groups and assign users
ClickHouse-Admins → Admin, create a group called ClickHouse-Admins in Okta.
Assign people to add a member to it.


Push Groups → Find groups by name, search for your group, and click Save. Repeat for each role group. Each one should show a Push Status of Active (Pushed) once provisioned.
- Via groups (recommended). Add users to the Okta groups you just pushed. They’ll be provisioned to ClickHouse Cloud and assigned the matching role automatically.
- Directly. On the application’s Assignments tab, click
Assign → Assign to Peopleand select individual users. They’ll be provisioned with the Default role unless they’re also in a pushed group.
Test the integration
Once provisioning is configured, return to Settings → Users and roles in the ClickHouse Cloud Console to confirm that synchronised users have appeared with the expected roles.
Best practices for production
Rotate tokens regularly
Set a calendar reminder for SCIM token rotation. Recommended cadence: every 12 months, or immediately whenever an admin who knew the token leaves the company. ClickHouse Cloud allows two active tokens per organization specifically so you can rotate without breaking provisioning.Use groups, not direct assignments
Direct user assignment to the application works, but quickly becomes hard to audit. Driving assignment through Okta groups means access reviews and role changes happen in one place.Review the audit log
Every SCIM action — user created, user deactivated, profile updated — is recorded in the ClickHouse Cloud audit log. See Audit logging. Check the log periodically, especially after large provisioning bursts.Set a sensible default role
If an Okta user gets assigned to the application but isn’t in any pushed group, they’re created with the Default role. Pick the most restrictive role that still lets the user accomplish something, so misconfigurations fail safely.Avoid SCIM and manual invites at the same time
Once SCIM is on, manage membership through Okta — don’t also send manual invites for the same users. Mixing the two paths leads to confusion about who is the source of truth and can produce duplicates.Monitor for failed provisioning tasks
Okta retries failed provisioning calls but eventually parks them in the Tasks queue. Add this queue to the dashboards your IT team already monitors, or use Okta’s webhook or email alerting to flag persistent failures.Troubleshooting
"Test connector configuration" fails in Okta
"Test connector configuration" fails in Okta
- Confirm SCIM is enabled in the ClickHouse Cloud Console.
- Confirm the base URL in Okta exactly matches the SCIM endpoint URL shown in the Cloud Console — the organization id must be correct.
- Confirm the token key and secret are pasted without leading or trailing whitespace.
- If you’ve rotated tokens, make sure you’re using the new key and secret, not the previous pair.
Users get created but have no permissions
Users get created but have no permissions
- Check that you’ve added a row under Map roles in “Users and roles” for the role you expect.
- Check that the Okta group name exactly matches the SCIM group name in the mapping, including capitalisation and hyphens.
- If your design intentionally provisions some users without a group, confirm the Default role is set.
Duplicate user in the member list
Duplicate user in the member list
Group push fails with "displayName not recognised"
Group push fails with "displayName not recognised"
Deactivated users still show as members
Deactivated users still show as members
I rotated the SCIM token and now Okta is failing
I rotated the SCIM token and now Okta is failing
Test Connector Configuration to confirm. Once provisioning is back to green, revoke the old token in ClickHouse Cloud Console.I lost the SCIM token
I lost the SCIM token
Frequently asked questions
Do I need SAML SSO before I can use SCIM?
Do I need SAML SSO before I can use SCIM?
Does SCIM work with Microsoft Entra ID, OneLogin, or other SCIM 2.0 IdPs?
Does SCIM work with Microsoft Entra ID, OneLogin, or other SCIM 2.0 IdPs?
How quickly do changes in Okta show up in ClickHouse Cloud?
How quickly do changes in Okta show up in ClickHouse Cloud?
Can I provision multiple ClickHouse Cloud organizations from a single Okta tenant?
Can I provision multiple ClickHouse Cloud organizations from a single Okta tenant?
Where do I get help if I'm stuck?
Where do I get help if I'm stuck?
- your organization id,
- your Okta application id, and
- a screenshot of the failing task or test from the Okta logs.