New Relic license key

Your New Relic license key is a 40-character hexadecimal string created when you sign up for a New Relic account. It's used to determine which account to send your APM and Infrastructure data to (Mobile and Browser use other keys) and some New Relic features will require you to input it.

To prevent unauthorized access to your data, treat your license key securely.

View and manage your license key

To view the license key for your New Relic account:

  1. From the account dropdown, select Account settings.
  2. The license key is on the right side of that page.

You can create additional license keys and manage them with our NerdGraph API.

Starting December 2019, the license key is a 40-character long string ending in NRAL.

Keep your license key safe

Your license key uniquely identifies your account and the data it reports to New Relic. Given its importance, you should treat it like a password.

If your license key falls into the wrong hands, an attacker could send fake data to your account, which could trigger false alerts and contaminate your data so that detecting actual issues is more difficult.

Ideas for keeping your license key secure:

  • Store your license key in an environment variable instead of hardcoding it in configuration files.
  • Scan your code for license keys on a regular basis, using tools like Git Secrets or truffleHog.
  • Use a secret sharing tool, like Vault or CyberArk.

Other keys

Some other products have their own license key:

Heroku users

If you have a Heroku application, you can view your New Relic license key:

  1. Log in to your Heroku dashboard.
  2. Select your app, then select Add-ons > New Relic APM.
  3. From the account dropdown in the New Relic UI, select Account settings.
  4. From the Account information section, copy your license key.

For more help

If you need more help, check out these support and learning resources: