# Unable to find certain repos in GitLab to import

**URL:** <https://community.sonarsource.com/t/unable-to-find-certain-repos-in-gitlab-to-import/73712>\
**Category:** SonarQube Server / Community Build\
**Created:** [September 28, 2022, 2:03pm UTC](https://community.sonarsource.com/t/unable-to-find-certain-repos-in-gitlab-to-import/73712 "2022-09-28T14:03:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zacktzeng](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/zacktzeng/32/21195_2.png) [@zacktzeng](https://community.sonarsource.com/u/zacktzeng)\
**Post date:** [September 28, 2022, 2:03pm UTC](https://community.sonarsource.com/t/unable-to-find-certain-repos-in-gitlab-to-import/73712/1 "2022-09-28T14:03:10Z")

</div>

Hello, I have onboarded several projects from GitLab repos but there are a few others I am not able to find through Sonarqube’s GitLab integration project creation. Are there any permission requirements in GitLab or personal token requirements? Is it possible to find the repositories with web api? There is an alm setting key parameter required for the “POST api/alm\_integrations/import\_gitlab\_project”. How do I get this key?

---

<div class="post-metadata">

**Author:** ![zacktzeng](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/zacktzeng/32/21195_2.png) [@zacktzeng](https://community.sonarsource.com/u/zacktzeng)\
**Post date:** [September 28, 2022, 3:13pm UTC](https://community.sonarsource.com/t/unable-to-find-certain-repos-in-gitlab-to-import/73712/2 "2022-09-28T15:13:20Z")

</div>

I finally understood how to use web api to do the job.

Use “GET api/alm\_settings/list” to get the alm setting key and the use “POST api/alm\_integrations/import\_gitlab\_project” with the alm setting key and the GitLab project ID available in the repo’s home page to import the GitLab repo as a Sonarqube project.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/system/32/31083_2.png) [@system](https://community.sonarsource.com/u/system)\
**Post date:** [October 5, 2022, 3:14pm UTC](https://community.sonarsource.com/t/unable-to-find-certain-repos-in-gitlab-to-import/73712/3 "2022-10-05T15:14:17Z")

</div>

Closed on October 5, 2022, 3:14pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
