# New Relic Integration

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

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

![](https://3582076375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FdUP3V0ghiIrJTbNR4lwH%2FPicture1.png?alt=media\&token=30db3217-4b8d-4652-8268-53ba5a02e6b8)

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

![](https://3582076375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FWkGVNsLmtis5Xo4PPTrJ%2FPicture2.png?alt=media\&token=bd3a5e55-a0aa-497c-8059-8cc306074cc5)

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

<figure><img src="https://3582076375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FU8WbcRoGNWbJxBuZRq3l%2F3.png?alt=media&#x26;token=a1d43cee-d3eb-4706-b904-a1686385092e" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3582076375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FUO87eiPjarMmCFXlNpP3%2FPicture4A.png?alt=media&#x26;token=c6c0cd61-4903-43e0-be2e-183f2c7eb18e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3582076375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FDVmDdTzvuYSrLfpaItGD%2FPicture4B.png?alt=media&#x26;token=a285ebb4-2643-4e98-ac5d-048ecbcfe9f0" 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="https://3582076375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FzkJlbh4nQ7FpKwUgD0S4%2FPicture5.png?alt=media&#x26;token=cfadaa9a-1a64-4ab7-8640-3681aba8a5dc" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3582076375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FiPQgFGkwL5eW9IsTkv26%2FPicture6.png?alt=media&#x26;token=fec91475-976e-4af8-9b10-c5a6ffaf5dd7" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3582076375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FkUNIjDCakexwELVH18yo%2FInsight%20Query%20Keys%20pic.png?alt=media&#x26;token=fbeea54c-620a-4a7b-9919-686daea05064" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3582076375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FEi2roNx4F5XBpVvswuxC%2F10.png?alt=media&#x26;token=a801b1f8-9e28-47f9-b795-483337220697" 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="https://3582076375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2Fti3vjQfm0gEHm6GWbPB5%2F11.png?alt=media&#x26;token=7c4ac4e6-ebf7-4660-9487-7fd4857b38a3" 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](https://docs.oobeya.io/dashboards/adding-a-new-widget)
