Activate an Enterprise license
Follow these steps to activate your Grafana Enterprise license:
Step 1. Download your license file
To download your Grafana Enterprise license:
- Log in to your Grafana Cloud Account.
- Go to your Org Profile.
- Go to the section for Grafana Enterprise licenses in the side menu.
- At the bottom of the license details page there is Download Token link that will download the license.jwt file containing your license to your computer.
Step 2. Add your license to a Grafana instance
There are three different ways to add the license to a Grafana instance:
Upload the license file through the Grafana Server Administrator page
This is the preferred option for single instance installations of Grafana Enterprise.
- Sign in as a Grafana server admin.
- Navigate to Server Admin > Upgrade within Grafana.
- Click Upload license token file.
- Select your license file, and upload it.
Place the license.jwt file in Grafana’s data folder
The data folder is usually
/var/lib/grafana on Linux systems.
You can also configure a custom location for the license file using the grafana.ini setting:
[enterprise] license_path = /company/secrets/license.jwt
This setting can also be set with an environment variable, which is useful if you’re running Grafana with Docker and have a custom volume where you have placed the license file. In this case, set the environment variable
GF_ENTERPRISE_LICENSE_PATH to point to the location of your license file.
Set the content of the license file as a configuration option
You can add a license by pasting the content of the
to the grafana.ini configuration file:
[enterprise] license_text = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0aGlzIjoiaXMiLCJub3QiOiJhIiwidmFsaWQiOiJsaWNlbnNlIn0.bxDzxIoJlYMwiEYKYT_l2s42z0Y30tY-6KKoyz9RuLE
This option can be set using the
Step 3. Ensure that the license file’s root URL matches the root_url configuration option
root_url in your configuration. It should be the URL that users type in their browsers to access the frontend, not the node hostname(s).
This is important, because as part of the validation checks at startup, Grafana compares the license URL to the
root_url in your configuration.
In your configuration file:
[server] root_url = https://grafana.blah.com/
Or with an environment variable:
Step 4. Restart Grafana
To finalize the installation of Grafana Enterprise, restart Grafana to enable all Grafana Enterprise features. Refer to restart Grafana for more information.
Related Grafana video resources
All about Grafana plugins: Visualizing disparate data sources in one place
Grafana Enterprise plugins are integrations with other commercial monitoring tools (such as Datadog, Splunk, New Relic, ServiceNow, Oracle, and Dynatrace) that are created, maintained, and supported by the Grafana Labs team.
Demo: Getting started with Grafana Enterprise and observability
Join the Grafana Labs team for a 30-minute demo of how to get started with the Grafana Stack, so you can go from zero to observability in just a few minutes.