{"id":17745,"date":"2016-06-13T09:53:01","date_gmt":"2016-06-13T09:53:01","guid":{"rendered":"http:\/\/apidocs.kore.com\/?post_type=docs&amp;p=2620"},"modified":"2016-06-13T09:53:01","modified_gmt":"2016-06-13T09:53:01","slug":"integrating-with-new-relic","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-store\/adding-bots\/integrating-with-new-relic\/","title":{"rendered":"Adding a New Relic Bot"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>Kore.ai provides integration for a built-in <em>New Relic<\/em>\u00a0Bot\u00a0that you can use to display\u00a0message notifications and execute tasks directly\u00a0from the\u00a0Kore.ai application. To use the <em>New Relic<\/em>\u00a0Bot, you just need to add the Bot to your Kore.ai account, and then configure the settings for the Bot, such as authentication to access <em>New Relic<\/em>, and the\u00a0notification messages that you want. This topic describes the <em>New Relic<\/em>\u00a0built-in Bot\u00a0for Kore.ai.\u00a0<\/p>\n<h1><span class=\"ez-toc-section\" id=\"About_the_Koreai_Bot_for_New_Relic\"><span class=\"wysiwyg-font-size-x-large\">About the Kore.ai Bot for\u00a0New Relic<\/span><\/span><\/h1>\n<p><img decoding=\"async\" class=\"logo2 alignleft\" src=\"\/wp-content\/uploads\/sites\/35\/DIYNewRelicLogo-1.png\" alt=\"DIYNewRelicLogo\" \/><em>New Relic<\/em>\u00a0is a cloud-based\u00a0all-in-one web application performance monitoring tool that lets you see application performance from the end-user, through your web servers, and to your application.<\/p>\n<table border=\"0\" width=\"645\">\n<tbody>\n<tr>\n<td><strong>Integration Type<\/strong><\/td>\n<td><strong>Webhook<\/strong> &#8211; Connect to this Bot using a webhook integration where the web application pushes\u00a0message notifications in near real time.<\/td>\n<\/tr>\n<tr>\n<td><strong>Category<\/strong><\/td>\n<td><strong>Developer Tools<\/strong>\u00a0&#8211; This Bot is available in the Kore.ai application in the\u00a0<strong>Developer Tools\u00a0<\/strong>category.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1><span class=\"ez-toc-section\" id=\"Configuring_New_Relic\"><a id=\"webhook\"><\/a><span class=\"wysiwyg-font-size-x-large\">Configuring New Relic\u00a0<\/span><\/span><\/h1>\n<p>To configure a <em>New Relic<\/em>\u00a0webhook for Kore.ai, you must have a <em>New Relic<\/em>\u00a0account with administrator access as well as API access to configure a webhook. If you don&#8217;t, you&#8217;ll need to contact the <em>New Relic<\/em>\u00a0system administrator for\u00a0your company. For more information, see the <a href=\"https:\/\/docs.newrelic.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">New Relic Documentation<\/a>.<br \/>\nTo get started configuring the webhook in <em>New Relic<\/em>, you&#8217;ll need two\u00a0things:<\/p>\n<ol>\n<li>The Kore.ai webhook URL provided when you set up an alert in your Kore.ai account for each alert that you want to enable in <em>New Relic<\/em>.<\/li>\n<li>A valid Username and Password for an account with <em>New Relic<\/em>\u00a0API access.<\/li>\n<\/ol>\n<p>The webhook URL is account-specific and cannot be transferred to any other account. This means that if you configure a <em>New Relic<\/em>\u00a0webhook using a test account, you will have to recreate the alert and get a new webhook URL to configure in <em>New Relic<\/em>. The following URL is an example webhook URL.<br \/>\n<span style=\"color: #0000ff\">https:\/\/company.kore.com\/hooks\/c6089802f36250c179dcb1aa29afd24c<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Configuring_Webhook\"><span class=\"wysiwyg-font-size-large\">Configuring Webhook<\/span><\/span><\/h2>\n<p>This procedure describes the steps in <em>New Relic<\/em>\u00a0to configure a webhook using a Kore.ai webhook URL endpoint.<\/p>\n<ol>\n<li>Log on to <em>New Relic<\/em>, on the <strong>User<\/strong> menu located on the rightmost side of the <em>New Relic\u00a0<\/em>menu bar, click your\u00a0<strong>User name<\/strong>, and then click <strong>Account Settings<\/strong>.<\/li>\n<li>On the <strong>Account Settings<\/strong> page, in the left navigation panel, click <strong>Alerts<\/strong>, and then click<strong> Channels and groups<\/strong>.<\/li>\n<li>In the <strong>Channels<\/strong>\u00a0section,\u00a0if you previously configured a webhook, click <strong>Create Channel<\/strong>, and then select <strong>Webhook<\/strong> from the list. Otherwise, for a new webhook, in the <strong>Webhook\u00a0<\/strong>section, click <strong>Create<\/strong>. The <strong>Webhooks<\/strong> page is displayed.<\/li>\n<li>In the <strong>Webhook name<\/strong> field, enter the name of the webhook used in the <em>New Relic\u00a0<\/em>application.<\/li>\n<li>In the <strong>Webhook URL<\/strong> field, enter the\u00a0Kore.ai webhook URL for the alert.<\/li>\n<li>Optionally, in the <strong>Description<\/strong> field, enter a description of the webhook\u00a0used in the <em>New Relic<\/em> application.<\/li>\n<li>In the <strong>Notification<\/strong> level section, select the notification events that will initiate a Kore.ai alert message, and then click <strong>Integrate with Webhooks<\/strong>.<\/li>\n<\/ol>\n<p>For more information, see <a href=\"https:\/\/docs.newrelic.com\/docs\/alerts\/new-relic-alerts-beta\/managing-notification-channels\/notification-channels-controlling-where-send-alerts#webhook\" target=\"_blank\" rel=\"noopener noreferrer\">Webhook<\/a> in the <em>New Relic<\/em>\u00a0documentation.<br \/>\nYou can setup message notifications to your Kore.ai account using a <em>New Relic<\/em><em>\u00a0<\/em>webhook. Click\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"inline alignnone\" src=\"\/wp-content\/uploads\/sites\/35\/newtask.png\" alt=\"\" width=\"30\" height=\"34\" \/>, click <strong>Get notified when&#8230;<\/strong>, and then click one of the <em>New Relic<\/em>\u00a0web services described in the following table.<\/p>\n<table border=\"0\" width=\"90%\">\n<tbody>\n<tr>\n<th>TASK<\/th>\n<th>TO CONFIGURE THIS TASK&#8230;<\/th>\n<\/tr>\n<tr>\n<td><strong>Server Health Alert<\/strong><\/td>\n<td>In the <strong>Setup Task<\/strong> dialog,<\/p>\n<ul>\n<li>click the <strong>Activate<\/strong> button to generate a Webhook URL.<\/li>\n<li>copy and save the URL, or click <strong>Email Instructions<\/strong> to send the URL to an email account. For more information, see <a href=\"\/docs\/bots\/about-kore-bots\/addingbots\/integrating-with-new-relic\/#webhook\">Configuring New Relic\u00a0Webhooks<\/a>.<\/li>\n<li>optionally customize the <strong>Task Name\u00a0<\/strong><\/li>\n<li>optionally customize the <strong>Short Description<\/strong><\/li>\n<li>enable or disable <strong>Mute task notifications<\/strong><\/li>\n<li>and then, optionally customize the interval for message notifications in the\u00a0<strong>Check for updates<\/strong>\u2026 section.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>Application Performance Alert<\/strong><\/td>\n<td>In the <strong>Setup Task<\/strong> dialog,<\/p>\n<ul>\n<li>click the <strong>Activate<\/strong> button to generate a Webhook URL.<\/li>\n<li>copy and save the URL, or click <strong>Email Instructions<\/strong> to send the URL to an email account. For more information, see <a href=\"\/docs\/bots\/about-kore-bots\/addingbots\/integrating-with-new-relic\/#webhook\">Configuring New Relic\u00a0Webhooks<\/a><\/li>\n<li>optionally customize the\u00a0<strong>Task Name<\/strong><\/li>\n<li>optionally customize the\u00a0<strong>Short Description<\/strong><\/li>\n<li>enable or disable\u00a0<strong>Mute task notifications<\/strong><\/li>\n<li>and then, optionally customize the interval for message notifications in the\u00a0<strong>Check for updates<\/strong>\u2026 section.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1><span class=\"ez-toc-section\" id=\"Next_Steps\"><em><span class=\"wysiwyg-font-size-x-large\">Next Steps<\/span><\/em><\/span><\/h1>\n<p>After the webhook is configured in <em>New Relic<\/em>, when any of the events occur in <em>New\u00a0Relic<\/em>, a message is displayed on the <strong>Bots<\/strong> tab in the <strong>Messages<\/strong> section for the Kore.ai account.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Kore.ai provides integration for a built-in New Relic\u00a0Bot\u00a0that you can use to display\u00a0message notifications and execute tasks directly\u00a0from the\u00a0Kore.ai application. To use the New Relic\u00a0Bot, you just need to add the Bot to your Kore.ai account, and then configure the settings for the Bot, such as authentication to access New Relic, and the\u00a0notification messages that...","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[176],"tags":[],"class_list":["post-17745","post","type-post","status-publish","format-standard","hentry","category-adding-bots"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/17745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=17745"}],"version-history":[{"count":0,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/17745\/revisions"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=17745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=17745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=17745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}