# New Relic Integration

## 1. **Create An API Key on New Relic** :tools:&#x20;

1. Click the **"Profile"** button as in the figure.

![](/files/CXfcnS8neEoAL31t9gNB)

2\. Click the **"API Keys"** button.

![](/files/9I0ITt0vZiD0YdSPa9ID)

3\. Click the **“Rest API Key”** to create an API token.

<figure><img src="/files/AFIq4zigOLckbQyio9vF" alt=""><figcaption></figcaption></figure>

Click the **"Show Key"** button. Keep your **"API Key"** to add a data source in Oobeya later.

<figure><img src="/files/VC1rM9HnKklJ9pRPLq2J" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/I1TRjk74mmHv4HYBOcKG" alt=""><figcaption></figcaption></figure>

## 2. Creating A Query Key on New Relic Insights

1. Click the **"Profile"** button as in the figure.&#x20;

<figure><img src="/files/BDpDoaHiUp6nVW6LzFlA" alt=""><figcaption></figcaption></figure>

2\. Click the "**API Keys**" button.&#x20;

<figure><img src="/files/OebvnCme7oscGwa6o6Rr" alt=""><figcaption></figcaption></figure>

3\. Click on the **"Insights Query Keys”** button.

<figure><img src="/files/HExcy76lFG1PEMUlnyxl" alt=""><figcaption></figcaption></figure>

4. Click the add icon next to the **"Query Keys"** to add a query key.

<figure><img src="/files/QEMwV7VGivdYftof4m9D" alt=""><figcaption></figcaption></figure>

5. You can use created query key as shown on below to add a data source in Oobeya.

<figure><img src="/files/y75QNEmnJfnrGtOhVni2" alt=""><figcaption></figcaption></figure>

## 4. Install New Relic Addon on Oobeya :jigsaw:&#x20;

1. Log in to [Oobeya](https://oobeya.io/) with an Administrator account.&#x20;
2. Navigate to **Market Place**, select the New Relic addon, and click the "Install" button.&#x20;

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FtXRaoicPRPiE355kyVDA%2Ffile.png?alt=media)

## 3. Add A New Data Source :electric\_plug:&#x20;

1. Navigate to **Data Sources**, and select New Relic to add a new data source.&#x20;

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FQVr9tGImhOxrkux59Wv3%2Ffile.png?alt=media)

2\. Click the "**New Data Source**" button and fill in the form. *API Token* from Step-1 and *Query Key* from Step-2.&#x20;

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FgzLsech8ElxSEIciA7Tf%2Ffile.png?alt=media)

3\. Click the "**Test Connection**" button to verify the connection.&#x20;

## Ready to Connect :rocket:&#x20;

Now Oobeya is connected with your own New Relic account to track the real-time and average performance metrics.&#x20;

## **Next Steps** :dart:&#x20;

* [Add a new Widget](/dashboards/adding-a-new-widget.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.oobeya.io/integrations/all-integrations/apm-monitoring-addons/new-relic-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
