SonarQube Cloud | Administering SonarQube Cloud | Managing the user accounts | Setting up Single Sign-On | Step 2: Configure SSO | Introduction
Step 2: Configure SSO with the setup assistant
Currently, only SAML SSO is supported.
If you use Okta or Microsoft Entra ID, go to the following pages:
Otherwise, proceed as follows:
- In SonarQube Cloud, retrieve your enterprise.
- Select Administration > Single Sign-On. The Single Sign-On page opens.
- Select Open Configuration and then Get Started. The setup assistant opens.
- Select Custom SAML and select Next.
- Follow the steps described below.
Step 1: Create the SonarQube Cloud application in your identity provider

- Create the SonarQube Cloud application in your identity provider.
- Copy the Service Provider Identity ID field value from the setup assistant and paste it into the corresponding field in your identity provider.
- Copy the Single Sign-On URL field value from the setup assistant and paste it into the corresponding field in your identity provider.
- In the setup assistant, select Next to go to the step 2. Configure Connection.
Step 2: Configure the connection
The operation is different depending on whether your identity provider supports the SAML metadata URL field (URL used by SonarQube Cloud to access metadata information) or not.
Metadata URL supported
- In your SonarQube Cloud application in your identity provider, copy the value of the field corresponding to the SAML metadata URL .
- Paste it into the Metadata URL field in the Automatic tab of the setup assistant page.
- In the assistant, select Create Connection and Proceed. SonarQube Cloud is trying to connect to your Identity Provider. If the connection is established, the assistant moves to step 3. Attribute Mapping.

Metadata URL not supported
- In the assistant, select the Manual tab.
- In your identity provider, copy the value of the SSO login URL field and paste it into Single Sign-On Login URL in the assistant.
- In your identity provider, download the certificate and upload it to the assistant.
- In the assistant, select Create Connection and Proceed. SonarQube Cloud is trying to connect to your Identity Provider. If the connection is established, the assistant moves to step 3. Attribute Mapping.

Step 3: Set up the attributes
- In your identity provider, create the attributes for name, login, email, and groups (the group attribute is used for automatic group synchronization). To do so, for each attribute, copy the attribute name from the assistant and paste it into the attribute's name field in your identity provider.
- In the assistant, select Next to go to the step 4. Test SSO.
Step 4: Test SSO
Select the Test Connection button. The test is started and the results are displayed on the page as illustrated below.

If the test was successful, select Done.
Related pages
Was this page helpful?