# Marketplace

{% hint style="info" %}
You can only install and update plugins from the Marketplace in SonarQube Community Edition. With commercial editions, you need manually install and update your plugins. See [install-a-plugin](https://docs.sonarsource.com/sonarqube-server/10.4/setup-and-upgrade/install-a-plugin "mention") for more information.
{% endhint %}

Administrators can access the SonarQube Marketplace via **Administration** > **Marketplace**. The Marketplace tab is the place for keeping the pieces of the SonarQube platform up to date. It lets you:

See -

* The currently installed SonarQube Edition
* Which plugins are installed
* Whether plugin updates are available
* Which other plugins are compatible with your version of SonarQube

Discover -

* Which other Editions are available, to enable more features

Install -

* New plugins
* Plugin updates

To check for and install plugin updates, your SonarQube server needs internet access. Installations require the platform to be restarted before they take effect.

{% hint style="warning" %}
A third-party website called sonarplugins.com also exists. This website is not the same as the Marketplace and is not endorsed by, affiliated with, maintained, authorized, or sponsored by Sonar.
{% endhint %}

### Pending operations <a href="#pending-operations" id="pending-operations"></a>

When you perform an action in the Marketplace (install, update, or uninstall a plugin), a yellow banner appears at the top of the page showing pending operations that will be executed once SonarQube is restarted. Pending operations can be canceled until the server is restarted.

### Restart SonarQube <a href="#restart-sonarqube" id="restart-sonarqube"></a>

Restarting SonarQube can be done manually from the command line by running `sonar.sh restart`. In SonarQube Community Edition, you can also restart from the UI, in the Update Center. When you have Pending Changes, the restart button will be displayed in the yellow banner (see Pending Operations). Please note that restarting the server won’t reload the changes applied to the `sonar.properties`.

### Manual updates <a href="#manual-updates" id="manual-updates"></a>

If you’re using a commercial edition or your server doesn’t have internet access, you won’t be able to rely on the Marketplace tab for plugins and will have to handle plugin installations and upgrades manually.

To see what plugins are available and which version of a plugin is appropriate for your server, use the [plugin-version-matrix](https://docs.sonarsource.com/sonarqube-server/10.4/instance-administration/plugin-version-matrix "mention"), which is kept up to date with current plugin availability and compatibility.

To install a plugin, simply download it using the manual download link on the plugin’s documentation page, place it in `<sonarqubeHome>/extensions/plugins`, and restart the server.

#### Stopping the Marketplace from searching for plugin updates <a href="#stopping-the-marketplace-from-searching-for-plugin-updates" id="stopping-the-marketplace-from-searching-for-plugin-updates"></a>

Your SonarQube server needs internet access for the Marketplace to search for plugin updates. If your server doesn’t have internet access, you may get errors in your logs when the Marketplace tries to search for new plugins. You can stop this by updating `sonar.updatecenter.activate` in `<sonarqubeHome>/conf/sonar.properties`.

### Which URLs does the Marketplace connect to? <a href="#which-urls-does-the-marketplace-connect-to" id="which-urls-does-the-marketplace-connect-to"></a>

The SonarQube Marketplace connects to <https://downloads.sonarsource.com/?prefix=sonarqube/update> to get the list of plugins. Most of the referenced plugins are downloaded from:

* <https://binaries.sonarsource.com/>
* <https://github.com/>

### Using the Marketplace behind a proxy <a href="#using-the-marketplace-behind-a-proxy" id="using-the-marketplace-behind-a-proxy"></a>

Marketplace uses HTTP(S) connections to external servers to provide these services. If SonarQube is located behind a proxy, additional information must be provided in `<sonarqubeHome>/conf/sonar.properties`:

```css-79elbk
http.proxyHost=<your.proxy.host>
http.proxyPort=<yout.proxy.port>

#If proxy authentication is required
http.proxyUser=<your.proxy.user>
http.proxyPassword=<your.proxy.password> 
```

Note: the same properties can be used in the `https.*` form for HTTPS connections.

### Deploying to the Marketplace <a href="#deploying-to-the-marketplace" id="deploying-to-the-marketplace"></a>

If you have developed a SonarQube plugin, you can check out the [requirements](https://community.sonarsource.com/t/deploying-to-the-marketplace/35236) for adding it to the Marketplace in the [Plugin Development community](https://community.sonarsource.com/c/plugins/15).
