Creating and setting up your project

You can create projects on SonarQube Cloud by importing repositories from your DevOps platform.

To set up your project on SonarQube Cloud:

  1. Create your project: You can create projects by importing your DevOps platform repositories (see below) which automatically binds new projects to the respective repository. This binding has many advantages, see Binding with the DevOps platform for more details. Users will need the correct permission level to create new projects. You can also create projects manually however, manually created projects are unbound.

  2. Set up project integration with your DevOps platform. See Introduction to DevOps platform for more details.

  3. Set up user permissions for your project. See Setting user permissions for more information.

  4. Set up project analysis. See Introduction to project analysis.

Importing one or several repositories to SonarQube Cloud

Repository import is only possible if your SonarQube Cloud organization is bound to its corresponding DevOps platform organization (i.e. the DevOps platform organization has been imported to SonarQube Cloud). See Binding with the DevOps platform for more details.

  1. On the top right of the SonarQube Cloud interface, select the ✚ (plus) menu and select Analyze new project. The Analyze projects page opens.

  2. Select your organization.

  3. Select the repositories you want to import.

  4. Select the Set up button. The Set up project for Clean as You Code page opens.

  5. Select the new code definition for your project, see Quality standards and new code for more details.

  6. Select the Create project button. The project is created and the Automatic analysis is started if supported.

To import a monorepo, see Monorepo support.

Creating a project manually

  1. On the top right of the SonarQube Cloud interface, select the ✚ (plus) menu and select Analyze new project. The Analyze projects page opens.

  2. On the right of the page, select create a project manually.

  3. Select the organization and enter the project name and key.

  4. Click Next.

  5. Select the new code definition for your project, see Quality standards and new code.

  6. Select the Create project button. The project is created. You must now set up your Overview of integrated CIs. Automatic analysis is not supported for unbound projects.

By default, the visibility of newly created projects is set to private on Free, Team and Enterprise plans.

Last updated

Was this helpful?