Along with core in-app visualization dashboards, New Relic can also send you alerts in real-time in case of an error or performance problem. In this tutorial, we’ll walk you through the process of integrating your New Relic instance with your Slack workspace to set up alerts that quickly inform you and your team of any issues.
Permission to add apps in Slack
Admin-level access to a New Relic instance
Log into your New Relic One instance.
On home page, select Alerts and AI > Destinations from the top menu bar.
Select Slack from the list of alert destinations.
On the modal that opens, click One click slack authentication.
On the next page, if you’re logged in to your Slack account, you’ll be asked to allow New Relic to access your Slack workspace. Click Allow. This will add the New Relic Slack app to your workspace.
Make sure you select the right workspace before clicking Allow if you’re signed in to multiple Slack workspaces.
New Relic allows you to link error inboxes or alerts with different destinations. This tutorial assumes that you’ve already set up at least one error inbox in your New Relic instance. You can create and link an alert in the Alerts & AI tab. However, in this tutorial, we’ll look at connecting an error inbox with our Slack channel.
In your New Relic One web interface, go to Errors Inbox and select your workspace.
Click Set up Notifications from the quick actions menu on the left.
In the modal that appears click the Slack toggle.
Select the Slack workspace and channel that you want to associate with this error inbox and click Save.
Click the Test button to verify the Slack channel was linked successfully.
That’s it! You’ve now linked your error inbox with your Slack workspace and channel. Whenever your error inbox receives an error message from your workload, you’ll receive a notification in the Slack channel you just selected.