# New Relic

New Relic is a comprehensive observability platform that helps you monitor your applications, infrastructure, and user experience. This integration allows Firefly to include New Relic monitors and dashboards in your inventory.

## Prerequisites

* A New Relic account with administrative access.
* API key with appropriate permissions.
* Account number from your New Relic account.
* Access to New Relic API endpoints.
* Ability to create and manage API keys.

## Setup Procedure

1. Log in to your New Relic account.
2. In New Relic:
   * Select the account dropdown icon.
   * Navigate to **API keys**.
3. Copy your account number from the API keys section.
4. In Firefly:
   * Click **Settings > Integrations**.
   * Click **Add New > New Relic**.
   * Enter a descriptive name in the Nickname field.
   * Paste your account number into the Account ID field.
5. Back in New Relic:
   * Click **Create a key**.
   * Choose **User** as the Key type.
   * Enter a descriptive Name.
   * Click **Create a key**.
   * Click the more icon and choose **Copy key**.
6. Return to Firefly:
   * Paste the API key into the API Key field.
   * Select your Region.
   * Click **Next**.
   * Click **Done**.

## Configuration Details

* Firefly scans every 8 hours by default for SaaS data.
* Your New Relic configurations list will stay updated automatically.
* You can enforce IaC or policies on your New Relic assets.
* Supports monitoring of New Relic monitors, dashboards, application metrics, and infrastructure data.


---

# 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.firefly.ai/integrations/data-sources/new-relic.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.
