# How to configure Service connections for locally installed Sonar cloud

**URL:** <https://community.sonarsource.com/t/how-to-configure-service-connections-for-locally-installed-sonar-cloud/33015>\
**Category:** SonarQube Server / Community Build\
**Created:** [October 16, 2020, 4:33am UTC](https://community.sonarsource.com/t/how-to-configure-service-connections-for-locally-installed-sonar-cloud/33015 "2020-10-16T04:33:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![skull-Atul](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/skull-atul/32/16035_2.png) [@skull-Atul](https://community.sonarsource.com/u/skull-Atul)\
**Post date:** [October 16, 2020, 4:33am UTC](https://community.sonarsource.com/t/how-to-configure-service-connections-for-locally-installed-sonar-cloud/33015/1 "2020-10-16T04:33:13Z")

</div>

Hi,  
My Infra on Azure and using Azure Devops for CI CD, I need to run code analysis from build pipeline but we are using locally install SonarCloud how can I create service connection for locally running SonatCloud

---

<div class="post-metadata">

**Author:** ![mickaelcaro](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/mickaelcaro/32/4147_2.png) [@mickaelcaro](https://community.sonarsource.com/u/mickaelcaro)\
**Post date:** [October 16, 2020, 7:47am UTC](https://community.sonarsource.com/t/how-to-configure-service-connections-for-locally-installed-sonar-cloud/33015/2 "2020-10-16T07:47:31Z")

</div>

Hi @skull-Atul

Local SonarCloud doesn’t exist, did you mean SonarQube ?

Your instance should be reachable from your Azure DevOps organization/instance, either by an IP address or a hostname, otherwise you won’t be able to connect it.

Service connection menu is on your project settings -\> Service Connections.

HTH,  
Mickaël

---

<div class="post-metadata">

**Author:** ![skull-Atul](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/skull-atul/32/16035_2.png) [@skull-Atul](https://community.sonarsource.com/u/skull-Atul)\
**Post date:** [October 17, 2020, 5:18pm UTC](https://community.sonarsource.com/t/how-to-configure-service-connections-for-locally-installed-sonar-cloud/33015/3 "2020-10-17T17:18:33Z")

</div>

HI Mickael,

Thanks for your reply!! It was my bad SonarQube not cloud.

Regarding the service connection when I trying to create the service connection getting an error attached error while verifying the token.

Instance is reachable form Devops. Where i need to define the sonarqube URL or IP of server to verify the Sonarcloud token from that URL instead of [https://sonarcloud.io/](https://sonarcloud.io/)

Thanks  
Atul

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/2/f/2feb6ce8b42edee00fd19b46f43564734739dc9d.png)

---

<div class="post-metadata">

**Author:** ![mickaelcaro](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/mickaelcaro/32/4147_2.png) [@mickaelcaro](https://community.sonarsource.com/u/mickaelcaro)\
**Post date:** [October 19, 2020, 6:54am UTC](https://community.sonarsource.com/t/how-to-configure-service-connections-for-locally-installed-sonar-cloud/33015/4 "2020-10-19T06:54:37Z")

</div>

You need to use the extension for [SonarQube](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarqube&ssr=false#overview) then, you’ll be able to specify your SonarQube endpoint in a Hostname field.

HTH,  
Mickaël

---

<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 26, 2020, 6:54am UTC](https://community.sonarsource.com/t/how-to-configure-service-connections-for-locally-installed-sonar-cloud/33015/5 "2020-10-26T06:54:40Z")

</div>

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