# New Relic

> Source: https://truto.one/docs/integration-guides/newrelic/

New Relic connects with a user API key and the data center region your account is in.

:::callout{type="info"}
- You need to be a **Full platform user** in New Relic.
:::

## Install the New Relic integration

Install New Relic from [Available integrations](https://app.truto.one/integrations/available/4f21d5ed-7455-4090-ae78-ef4521bba2e6) in each environment you connect accounts from.

## Create a user key

1. Sign in to New Relic and go to **Profile** → **API Keys** → **Create a key**.
   ![API keys](https://docs-assets.truto.one/newrelic-details-1.png)
   ![Create a key](https://docs-assets.truto.one/newrelic-details-2.png)
2. Enter a name, select **User** as the key type, add an optional description and click **Save**.
   ![Key type User](https://docs-assets.truto.one/newrelic-details-3.png)
3. Copy the key.

The data center region shows in the browser URL while you're signed in to New Relic.

![Data center region in the URL](https://docs-assets.truto.one/newrelic-details-4.png)

## Connect a New Relic account

1. In [Integrated Accounts](https://app.truto.one/integrated-accounts), click **Connect Account**.
   ![Click Connect Account](https://docs-assets.truto.one/truto-connect-account.png)
2. Enter a **Tenant ID** (your customer's ID; Truto creates the tenant if it is new), or pick one under **Existing tenant (optional)**. Check the **Environment** and the **Region** (where Truto places the account; Western North America by default). To open the link straight on New Relic, pick it under **Advanced settings** → **Integration (optional)**. Click **Get connection link**.
   ![Get connection link](https://docs-assets.truto.one/truto-connect-account-modal.png)
3. Click the open-in-new-tab button, or click **Copy** and send the link to your customer so they connect their own New Relic account. The link works for 7 days, until an account is connected with it.
   ![Share connection link](https://docs-assets.truto.one/truto-connect-account-link.png)
4. Click **Get Started** if it shows, then select **New Relic**.
5. Fill in the form and click **Connect**:

   | Field | Required | What to enter |
   |---|---|---|
   | **API Key** | Yes | A New Relic **User** key. See [Create a user key](#create-a-user-key). |
   | **Data Center Region** | No | The region of your New Relic account. It shows in the browser URL while you're signed in. Pick one of **United States**, **European Union**. Defaults to **United States**. |
6. Close the tab when you see **Connection successful**. The new account appears under **Integrated Accounts**. Click its Account ID to see its details and make API calls.
