License administration
How to retrieve, setup, stage and request new SonarQube Server licenses.
To run SonarQube Server, you need a license corresponding to the edition and the maximum number of Lines of Code you want to use, including or not commercial support, and including or not staging licences. See the Sonar Plans and Pricing page for more details.
License management policy
Requesting a license
Once you have installed your SonarQube Server and your database, you can request a license.
The server ID is specific to the current database system. Make sure to configure an external database for long-term use prior to requesting your license with this server ID.
To request a license:
Retrieve your server ID as follows, go to Administration > Configuration > License Manager or to Administration > System. Your server ID is displayed on the page.
Go to the self-managed editions and select either Buy now (for a Developer edition) or Contact sales (otherwise).
Applying your license
Once you have received your license key from Sonar, you can apply it to your SonarQube Server instance:
Go to the Administration > Configuration > License Manager.
Select Set new license, and enter your license key to update or apply a new SonarQube Server license.
Using staging licenses
If your license includes one or more staging licenses, you can use them for non-production instances to test new features, upgrades, new integrations, etc.
Your license key isn’t working
If your license key isn’t working, send an email to [email protected] that includes the following information:
Server ID: Found under System Info at Administration > System.
SonarQube Server version: Found under System Info at Administration > System.
Clarify what current license (production/staging) and server ID this is replacing.
Confirm the status of the existing license.
A new license key will be issued within 1 business day once we receive an email with the needed information at [email protected].
Last updated
Was this helpful?