/ Docs

New Relic

Last updated November 6, 2025 · View as Markdown

Image 1 of 1 New Relic is a SaaS offering that focuses on performance and availability monitoring. It uses a standardized Apdex (application performance index) score to set and rate application performance across the environment in a unified manner.

In New Relic:

Get and record the following details from New Relic UI: they will be required later in this procedure.

  1. api-key :

    • In your New Relic account, click on the Account dropdown at the top right of the page.
    • Click on the API Keys tab.
    • Click Create New API Key.
    • Select the Account.
    • Set the Key Type to User.
    • Set the Name to RelyanceAPIAccess.

    5.jpg

    6.jpg

    • Click Create Key.
    • From the list of API Keys select the drop down and choose Copy Key; save the text temporarily for use in later Relyance AI configuration steps.
  2. product: Tenant-specific product name that you want to associate with in the integration analysis.

In Relyance AI:

  1. Login to your Relyance account.
  2. Navigate to the Settings (bottom-left corner).
  3. Select Integrations.
  4. Search and locate the New Relic integration card and click on it.
  5. Click on the Add Connection button on the top right
  6. Provide a meaningful name for the integration and click on the Add button
  7. In the Overview section, select the integration features you wish to enable for the integration, review the Scope and Permission, and Endpoint details and click on Continue. For more details, see Integration Features
  8. In the Connection section, provide the appropriate values and click on Continue,

Screenshot 2025-11-04 110319.png

Screenshot

  1. In the Authentication section, edit the JSON file in the window using the values recorded from New Relic earlier.
  2. Review the configuration summary from the Completion section and click on Finish.
  3. Confirm the integration Status reflects Connected

Screenshot

Screenshot

The Authentication step asks for:

  • Account Details: Add details about the New Relic accounts; required; a JSON value; the field is pre-filled with the shape to complete.

Authentication methods and fields

Pick one of these under Authentication Method on the connection wizard's Authentication step. This table is generated from the integration catalog, so it always matches what the form actually asks for.

Method Required Optional
Custom Account Details

Manage this integration with Terraform

Connections for this integration can be managed as code with the Relyance Terraform provider. Non-secret fields go in auth.params; secret fields go in auth.secrets_wo, which is write-only — never stored in Terraform state. Rotate secrets by bumping auth.secrets_wo_version.

resource "relyance_integration_connection" "newrelic" {
  vendor = "newrelic"
  name   = "<your connection name>"

  auth = {
    method = "account-credentials"
    params = {
      accounts = jsonencode([
        {
          api-key = ""
          newrelic-url = "https://api.newrelic.com"
          product = ""
        }
      ])
      data_storage_location = "us"
    }
  }

  scans = { "data-inspection" = { enabled = true } }
}