# Importing GitLab repositories

Once the integration of SonarQube with GitLab has been properly [global-setup](https://docs.sonarsource.com/sonarqube-server/10.6/devops-platform-integration/gitlab-integration/global-setup "mention"), you can import a GitLab repository to create the corresponding project in SonarQube. The so-created SonarQube project is "bound" to its GitLab repository. With a bound project:

* The project’s main branch name will be automatically set up from GitLab.
* From the [Developer Edition](https://www.sonarsource.com/plans-and-pricing/developer/): the quality gate status report to the pull requests will be automatically set up.

## Importing one or several GitLab repositories <a href="#one-or-several" id="one-or-several"></a>

1. In the top navigation bar of SonarQube, select the Projects tab.
2. In the top right corner, select the **Create Project > Import from DevOps platforms** button.
3. In the **Import from GitLab** section, select **Setup**. The **GitLab project onboarding** page opens. The repositories of the organization are listed on the page.
4. Select one or several repositories.
5. Select the **Set up** button to create the corresponding projects. The **Projects** page opens and displays the newly created projects at the top.

## Importing a GitLab monorepo <a href="#monorepo" id="monorepo"></a>

See [monorepos](https://docs.sonarsource.com/sonarqube-server/10.6/project-administration/monorepos "mention").
