# Create New Relic Incidents

Learn how to automatically create New Relic incidents when dbt™ runs fail in Bolt. This integration helps data teams track and respond to pipeline failures efficiently by connecting Bolt's pipeline monitoring with New Relic's incident management system.

### What You'll Get

When a run fails, Bolt automatically creates a New Relic incident containing:

* Issue title with schedule name
* Description including:
  * Link to Paradime run logs
  * Run details:
    * Run ID
    * Start and end time
    * Commands executed
    * Branch information

<figure><img src="https://2337193041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHET0AD04uHMgdeLAjptq%2Fuploads%2FlP3GZjcJileiddapkjFn%2Fimage.png?alt=media&#x26;token=15c16aca-841f-4ce7-b04c-2176f0659f95" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}

#### Key Benefits for Data Teams

* Automatic New Relic incident creation when dbt™ pipelines fail
* Real-time pipeline monitoring and incident tracking
* Streamlined workflow between dbt™ runs and New Relic
* Faster response time to pipeline failures
  {% endhint %}

{% hint style="warning" %}

#### Prerequisites for New Relic Integration

* Existing [Bolt schedule](https://app.paradime.io/bolt)
* Admin access to New Relic
* Access to New Relic [Account ID](https://docs.newrelic.com/docs/accounts/accounts-billing/account-structure/account-id/) and [API Key](https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/)
  {% endhint %}

***

### Setup Guide

Set up New Relic incident creation for failed runs. Follow the steps below, and watch our [interactive tutorial](#step-3-test-the-integration).

#### Step 1: Gather Your New Relic Credentials

1. **Get Your Account ID**:
   * Visit <https://docs.newrelic.com/docs/accounts/accounts-billing/account-structure/account-id/>
   * Follow instructions to locate your Account ID
2. **Generate API Key**:
   * Visit <https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/>
   * Create a new API key
   * Save this key securely

<figure><img src="https://2337193041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHET0AD04uHMgdeLAjptq%2Fuploads%2FCjlnmphK574jwVOF1PLY%2Fimage.png?alt=media&#x26;token=5baa5a49-ca80-41b7-a0f2-f44f2becdca5" alt=""><figcaption></figcaption></figure>

### Step 2: Configure the Webhook

1. From the [Bolt](https://app.paradime.io/bolt) home screen, go to [Templates](https://app.paradime.io/bolt/templates)&#x20;
2. Click **Ticketing** and use "Create New Relic Incident"
3. Enter your New Relic Credentials:
   * Account ID
   * API Key
4. Click "Connect"

<figure><img src="https://2337193041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHET0AD04uHMgdeLAjptq%2Fuploads%2F4wNLsBbBSahrB33KiDim%2Fimage.png?alt=media&#x26;token=c1b5dab5-48af-409e-a0d5-4c2c30d7f3f3" alt=""><figcaption></figcaption></figure>

#### Step 3: Test the Integration

1. [Run a Bolt schedule manually](https://docs.paradime.io/app-help/documentation/managing-schedules/schedule-configurations#trigger-a-run-manually) (the webhook only triggers on failed runs)
2. After the run fails, check your New Relic dashboard for the new incident
3. Verify the incident contains run failure details

{% @arcade/embed flowId="1wliPq7dW73hEcSBu8YZ" url="<https://app.arcade.software/share/1wliPq7dW73hEcSBu8YZ>" %}


---

# 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.paradime.io/app-help/documentation/bolt/creating-schedules/templates/incident-templates/create-new-relic-incidents.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.
