Setting up your enterprise
This page explains how to set up your SonarQube Cloud Enterprise as part of the Getting started with Enterprise.
With the Enterprise license, you can group together SonarQube Cloud organizations from different DevOps platforms into an enterprise and benefit from many features.
This page explains how to set up your enterprise from scratch.
Step 1: Prepare the enterprise onboarding
Prepare the organizations to be added
You must add at least one organization to be able to complete your enterprise setup. You can add any existing organization that i sunder your administration. Once an organization is added to your enterprise, it’s assigned the Enterprise plan.
If you add a Team plan organization to your enterprise, the organization’s Team plan subscription will be automatically cancelled and the organization will be moved to the Enterprise plan without a refund. Therefore, we recommend adding your organizations before their next billing date to avoid double charges.
To create a new organization to be added to your enterprise, import the DevOps platform organization and select the Free plan. For instructions to import your DevOps organization, please see:
Request a license
Contact our team to request an Enterprise license. Provide the maximum number of Lines of Code (LOC) you want to have in your enterprise. For more information, see LOC-based pricing for more information.
Step 2: Create the SonarQube Cloud enterprise
You must be an Admin of the organization you wish to add to the enterprise. Once you’ve created the enterprise, you become an Enterprise Admin automatically.
To create your enterprise:
1. Log in to SonarQube Cloud with your organization’s administrator account.
2. Select the + icon in the top right corner of SonarQube Cloud UI and select Create new enterprise in the menu. The Create an enterprise page opens.

3. In License key, enter the key you received from Sonar.
4. Enter the name and key of your enterprise.
5. In Add organization, select the first organization to be added to your enterprise to complete the setup.
6. Select the Create enterprise button. The enterprise is created.
7. To add other organizations, select Add organization.

Step 3: Set the enterprise permissions of users
As an Enterprise Admin, you can grant the Administer Enterprise and Create Portfolios permissions. For more information, check out the Managing the enterprise-related permissions page.
To set the enterprise-related permissions of users, follow the instructions to Retrieving and viewing your enterprise. Once inside of your enterprise:
Navigate to Administration > Enterprise Permissions.
If necessary, filter the list of users.
For each user, select or unselect the permissions in the table.

Step 4: Complete the enterprise onboarding
For each organization in your enterprise:
If not already done, verify the group's default permissions on new projects. See the Using permission templates page for more information.
You can set project configurations at the organization level. The details are outlined in the Performing global analysis setup pages.
By default, all organizations share the enterprise LOC limit. You can allocate an individual LOC limit to one or several organizations within your enterprise; please check the Managing the lines of code within your enterprise page.
If you want to transition your enterprise to SSO, see the Setting up SSO page for more information.
Related pages
Last updated
Was this helpful?

