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

# New Relic

> Give agents access to New Relic observability data.

The `@guildai-services/guildai~newrelic` package provides agents with access to New Relic observability and monitoring data through Guild's integration.

## Authentication

* **Type:** API key

### Setup

<Steps>
  <Step title="Open Credentials">Go to **Credentials** in Guild.</Step>
  <Step title="Connect New Relic">Click **New Relic** and enter your New Relic API key.</Step>
</Steps>

## Usage

```typescript theme={null}
import { newrelicTools } from "@guildai-services/guildai~newrelic"
import { llmAgent } from "@guildai/agents-sdk"

export default llmAgent({
  description: "An agent that monitors New Relic alerts",
  tools: { ...newrelicTools },
})
```
