10.5 | DevOps platform integration | GitHub integration | Setting up your project analysis | Importing your GitHub projects
Importing your GitHub projects into SonarQube
On this page
Once the integration of SonarQube with GitHub has been properly set up, you can import a GitHub repository to create the corresponding project in SonarQube. The so-created SonarQube project is "bound" to its GitHub repository.
To import a GitHub project into SonarQube, do one of the following:
- Import the GitHub repository from the SonarQube UI: see below.
- Scan a repository from a GitHub action. SonarQube will create the corresponding project in SonarQube and will automatically bind it to the GitHub repository if it finds a matching GitHub integration configuration in its database. See Adding a SonarQube analysis to your GitHub Actions workflow.
Importing a GitHub project from the SonarQube UI
To import a GitHub repository into SonarQube:
- In the SonarQube UI, go to the Projects page and select the Create project > Import from DevOps platform menu in the top right corner.
- In the Import from GitHub card, select the Setup button.
- Select the GitHub repository you want to import and create the SonarQube project.
Was this page helpful?