Initial SonarQube Cloud set up with GitLab

Time to complete icon20 minutes to complete

Overview

This course guides you through how to complete the initial setup of SonarQube Cloud integrated with GitLab. You'll learn how to create a SonarQube Cloud account using GitLab credentials, connect a GitLab organization, and add your first project for analysis. 

Learning objectives

After completing this course, you’ll be able to:

  • Create a new SonarQube Cloud account using GitLab credentials.  
  • Create a GitLab application for SonarQube Cloud.   
  • Connect a GitLab organization to SonarQube Cloud.   
  • Add a GitLab project to SonarQube Cloud.

Key topics

  • Creating a SonarQube Cloud account via GitLab authentication
  • Authorizing the SonarQube Cloud application on GitLab
  • Setting up a GitLab organization within SonarQube Cloud
  • Importing a GitLab group or personal project
  • Generating and using GitLab personal access tokens
  • Adding a GitLab repository as a project in SonarQube Cloud
  • Setting up the new code definition
  • Resources and best practices

Target audience

  • Administrator
  • DevOps engineer

Prerequisites

  • Active GitLab subscription
  • Administrator credentials for a GitLab organization
  • One or more repositories within the GitLab organization
  • GitLab group owner if importing a group
  • A verified email address in the GitLab account