New Relic
Echoes can connect to your New Relic account and monitor your incidents lifecycle in order to produce some metrics such as the Mean time to recovery.
New Relic integration is done through the integrations settings. The installation will guide you into generating a User API key.
Make sure to select the appropriate region.
![New Relic connection New Relic connection](https://images.archbee.com/cnN9HGi_h1eJLSFAvJkF4/9dSK-y1ileVjmwIGBC3K6_screenshot-2022-12-10-at-183111.png?format=webp)
Once the connection is made you will be invited to select the New Relic Account on which to install Echoes
![New Relic account selection New Relic account selection](https://images.archbee.com/cnN9HGi_h1eJLSFAvJkF4/6xh5AYyWnE8CdmwnXRogr_screenshot-2022-12-10-at-162638.png?format=webp)
Echoes will then install a Destination (Webhook) on the selected New Relic account.
The next step is to setup a New Relic Workflow in order to send incidents' events to Echoes through the Destination previously set during the installation.
The destination to be selected is Echoes webhook
![New Relic Workflow configuration New Relic Workflow configuration](https://images.archbee.com/cnN9HGi_h1eJLSFAvJkF4/hdLRxuxHrLa2459RSZx9s_workflow.png?format=webp)
The only requirement expected from Echoes is that the message template includes the issueId i.e
A service may represent an application, a component, to open incidents against.
In order to associate a Service suffering an incident to a team in Echoes, the property serviceOwnerTeamId is to be set in the notification payload.
The team ID value itself could be held by a specific tag. When setting up the New Relic Workflow this tag could then be referenced in the template to be loaded dynamically when constructing the notification payload.
The team IDs can be found by using our Teams API.