This guide describes a feature of the dbt Cloud Enterprise plan. If you’re interested in learning more about an Enterprise plan, contact us at email@example.com.
This overview explains how users are provisioned in dbt Cloud via Single Sign-On (SSO). dbt Cloud supports JIT (Just-in-Time) provisioning and IdP-initiated login. You can learn more about our supported options here.
The diagram below explains the basic process by which users are provisioned in dbt Cloud upon logging in with SSO.
- Login Page: The user accesses the dbt Cloud login page, initiating the SSO flow.
- IdP-Initiated Login: The user accesses the dbt Cloud login page within the Identity Provider by selecting the dbt Cloud application. This will begin the IdP login flow.
- IdP Login Page: The user is prompted to login to the Identity Provider. This will grant the dbt Cloud application access to the details of their account.
- Login?: The user can choose to continue or to abort the login process.
- Yes: The user logs in, grants the dbt Cloud application, and continues.
- No: The user does not log in. They return to the IdP login page.
- User Exists?: This step checks if the user already exist in dbt Cloud's user database.
- Yes: If so, skip the user creation process
- No: If so, create a new entry in the dbt Cloud database for the new user.
- Create dbt Cloud User: This will create a new entry in the dbt Cloud database for the new user. This user record contains the user's email address, first and last name, and any IdP attributes (e.g. groups) passed along from the Identity Provider.
- Attach Matching Accounts: dbt Cloud find all of the accounts configured to match the SSO config used by this user to log in, and then create a user license record mapping the user to the account. This step will also delete any licenses that the user should not have based on the current SSO config.
- Attach Matching Permissions (Groups): dbt Cloud iterates through the groups on the matching accounts, and find all that fit one of the below catergories:
Then, assign all of these (and only these) to the user license. This step will also remove any permissions that the user should not have based on the current SSO group mappings.
- have an SSO mapping group that is assigned to the user- have the "Assign by Default" option checked.
- dbt Cloud Application: After these steps, the user is redirected into the dbt Cloud application, and they can begin to use the application normally.