> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rootly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# New Relic

> Connect New Relic to Rootly to ingest alert events and capture metric and chart snapshots during incidents through Genius workflows.

The New Relic integration connects Rootly with your New Relic account in two directions. New Relic alert policies send issue events into Rootly as alerts, and incident workflows capture chart snapshots so responders keep point-in-time visibility into your observability data without leaving the incident.

With the New Relic integration, you can:

* Receive New Relic issue events as Rootly alerts
* Filter and route alerts using workflow conditions on fields like `priority`, `state`, and `workflowName`
* Capture New Relic chart snapshots from Genius workflows during incidents
* Attach snapshot links to incident timelines for post-incident review

## Before You Begin

Before setting up the integration, make sure you have:

* A Rootly account with permission to manage integrations
* A New Relic account with permission to create API keys
* Your New Relic **Account ID**
* Access to configure notification channels in New Relic, if you plan to ingest alerts

<Info>
  Rootly recommends integrating with a dedicated service account so the integration does not break if an individual user leaves your organization.
</Info>

## Installation

<Steps>
  <Step title="Open the New Relic integration in Rootly" icon="plug">
    Navigate to the integrations page in Rootly and select **New Relic**.

    <Frame>
      <img alt="New Relic integration on the integrations page" src="https://mintcdn.com/rootly/EZBU89ISF00990Wy/images/integrations/new-relic/installation/images-1.webp?fit=max&auto=format&n=EZBU89ISF00990Wy&q=85&s=377f8516c7880faafb3744318a408ec4" width="864" height="394" data-path="images/integrations/new-relic/installation/images-1.webp" />
    </Frame>
  </Step>

  <Step title="Generate a New Relic API key" icon="key">
    In New Relic, navigate to your API keys settings.

    <Frame>
      <img alt="New Relic API keys page" src="https://mintcdn.com/rootly/EZBU89ISF00990Wy/images/integrations/new-relic/installation/images-2.webp?fit=max&auto=format&n=EZBU89ISF00990Wy&q=85&s=4622217d4479ec390bed44561ee8d54a" width="870" height="330" data-path="images/integrations/new-relic/installation/images-2.webp" />
    </Frame>

    <Frame>
      <img alt="New Relic API key list" src="https://mintcdn.com/rootly/EZBU89ISF00990Wy/images/integrations/new-relic/installation/images-3.webp?fit=max&auto=format&n=EZBU89ISF00990Wy&q=85&s=568a0b46729a12dc163db48cda768bd9" width="855" height="154" data-path="images/integrations/new-relic/installation/images-3.webp" />
    </Frame>

    Generate a new **User** key and copy it.

    <Frame>
      <img alt="Generate New Relic API key" src="https://mintcdn.com/rootly/EZBU89ISF00990Wy/images/integrations/new-relic/installation/images-4.webp?fit=max&auto=format&n=EZBU89ISF00990Wy&q=85&s=856f80971b89df74da14b0308b8ed9b6" width="883" height="1231" data-path="images/integrations/new-relic/installation/images-4.webp" />
    </Frame>

    <Warning>
      Copy the API key immediately after generating it — New Relic will not show the full key again.
    </Warning>
  </Step>

  <Step title="Enter your credentials in Rootly" icon="link">
    Paste your **API key** and **Account ID** into the New Relic integration settings in Rootly and save.

    <Frame>
      <img alt="Enter New Relic credentials in Rootly" src="https://mintcdn.com/rootly/EZBU89ISF00990Wy/images/integrations/new-relic/installation/images-5.webp?fit=max&auto=format&n=EZBU89ISF00990Wy&q=85&s=e8f9bc96ae04d554845f0d615d3591bf" width="876" height="808" data-path="images/integrations/new-relic/installation/images-5.webp" />
    </Frame>
  </Step>
</Steps>

## Ingest New Relic Alerts

New Relic sends alert events into Rootly through a webhook notification channel. Once alerts are flowing, alert workflows can create incidents, notify Slack channels, or page on-call targets.

<Warning>
  Install the integration before setting up the webhook. The bearer token is generated during installation and is required for authentication.
</Warning>

### Configure a Webhook in New Relic

<Steps>
  <Step title="Open notification channels in New Relic" icon="bell">
    In New Relic, navigate to **Alerts > Notification channels** and create a new channel.

    <Frame>
      <img alt="New Relic notification channels page" src="https://mintcdn.com/rootly/EZBU89ISF00990Wy/images/integrations/new-relic/alerts/images-1.webp?fit=max&auto=format&n=EZBU89ISF00990Wy&q=85&s=bf35fab664b61d8a1c036e205b901b6b" width="870" height="447" data-path="images/integrations/new-relic/alerts/images-1.webp" />
    </Frame>
  </Step>

  <Step title="Create a Rootly webhook channel" icon="webhook">
    Select **Webhook** as the channel type and configure it with the following values:

    * **Webhook URL**: `https://webhooks.rootly.com/webhooks/incoming/new_relic_webhooks`
    * **Auth type**: Bearer token
    * **Token**: the bearer token shown in your Rootly New Relic integration settings

    <Frame>
      <img alt="New Relic webhook channel configuration" src="https://mintcdn.com/rootly/EZBU89ISF00990Wy/images/integrations/new-relic/alerts/images-2.webp?fit=max&auto=format&n=EZBU89ISF00990Wy&q=85&s=96edd5e6932f656c32931e67fe10c48b" width="857" height="189" data-path="images/integrations/new-relic/alerts/images-2.webp" />
    </Frame>

    <Frame>
      <img alt="New Relic webhook bearer token field" src="https://mintcdn.com/rootly/EZBU89ISF00990Wy/images/integrations/new-relic/alerts/images-3.webp?fit=max&auto=format&n=EZBU89ISF00990Wy&q=85&s=9a15bf00a71d8c34bf99af4a93347176" width="864" height="314" data-path="images/integrations/new-relic/alerts/images-3.webp" />
    </Frame>

    <Info>
      Your bearer token is available in Rootly under **Integrations > New Relic > Configure**.
    </Info>

    <Frame>
      <img alt="Bearer token in Rootly integration settings" src="https://mintcdn.com/rootly/EZBU89ISF00990Wy/images/integrations/new-relic/alerts/images-4.webp?fit=max&auto=format&n=EZBU89ISF00990Wy&q=85&s=52e63cb7ed90d82c850a50fad3fac317" width="873" height="818" data-path="images/integrations/new-relic/alerts/images-4.webp" />
    </Frame>
  </Step>

  <Step title="Test the webhook" icon="circle-check">
    Click **Test Notification** in New Relic. A test alert should appear on your [Rootly Alerts page](https://rootly.com/account/alerts).

    <Frame>
      <img alt="Test alert appearing in Rootly" src="https://mintcdn.com/rootly/EZBU89ISF00990Wy/images/integrations/new-relic/alerts/images-5.webp?fit=max&auto=format&n=EZBU89ISF00990Wy&q=85&s=81f251e00b99c4a42a2699043699e74b" width="865" height="336" data-path="images/integrations/new-relic/alerts/images-5.webp" />
    </Frame>

    <Check>
      If the test alert appears in Rootly, the integration is working correctly. You can now attach this channel to New Relic alert policies.
    </Check>
  </Step>
</Steps>

### How Alerts Are Mapped

Rootly extracts the following fields from each New Relic alert payload:

* **Summary** — the `title` field from the New Relic issue
* **External ID** — the issue `id`, used to deduplicate alerts
* **External URL** — the `issueUrl`, linking back to the New Relic issue
* **Labels** — `state`, `trigger`, `priority`, and `workflowName` are attached as Rootly alert labels

<Info>
  New Relic `priority` and `state` values are available as alert labels in Rootly. You can use these in workflow run conditions to handle critical vs warning alerts differently.
</Info>

## Workflow Actions

Once the integration is connected, a new task is available in your Genius workflows to capture New Relic chart snapshots during incidents.

<Frame>
  <img alt="New Relic snapshot task in Genius workflows" src="https://mintcdn.com/rootly/EZBU89ISF00990Wy/images/integrations/new-relic/installation/images-6.webp?fit=max&auto=format&n=EZBU89ISF00990Wy&q=85&s=17c7bc5cbe0ad6fc8e1c3506801ce662" width="876" height="780" data-path="images/integrations/new-relic/installation/images-6.webp" />
</Frame>

<Info>
  Snapshots are point-in-time captures attached to the incident timeline, so you can reference exactly what your metrics looked like when the incident occurred.
</Info>

## Troubleshooting

<AccordionGroup>
  <Accordion title="No alerts are appearing in Rootly after a New Relic alert fires" icon="circle-exclamation">
    Verify that the webhook URL and bearer token are correct. Use the **Test Notification** button in New Relic to confirm delivery. Ensure the notification channel is attached to the alert policy that fired.
  </Accordion>

  <Accordion title="Alerts appear but are missing fields" icon="file-circle-question">
    Rootly extracts fields from the standard New Relic issue payload. If your New Relic account uses a customized payload template for the webhook channel, ensure it still includes the standard fields: `title`, `id`, `issueUrl`, `state`, `priority`, and `createdAt`.
  </Accordion>

  <Accordion title="The bearer token is not being accepted" icon="key">
    Confirm you are using the token from the Rootly New Relic integration settings, not your New Relic API key. These are different credentials — the bearer token is generated by Rootly for authenticating inbound webhooks.
  </Accordion>
</AccordionGroup>

## Uninstall

To remove the New Relic integration, open the integrations panel in Rootly and select **Configure > Delete**.

## Related Resources

* [Alert workflows](/workflows/alert-workflows)
* [Alert routing](/alerts/alert-routing)
* [Integrations overview](/integrations/overview)
