{"id":17746,"date":"2016-06-13T09:54:03","date_gmt":"2016-06-13T09:54:03","guid":{"rendered":"http:\/\/apidocs.kore.com\/?post_type=docs&amp;p=2622"},"modified":"2016-06-13T09:54:03","modified_gmt":"2016-06-13T09:54:03","slug":"integrating-with-opsgenie","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-store\/adding-bots\/integrating-with-opsgenie\/","title":{"rendered":"Adding an OpsGenie Bot"},"content":{"rendered":"<p>Kore.ai provides integration for a built-in <em>OpsGenie<\/em>\u00a0Bot\u00a0that you can use to display\u00a0message notifications and execute tasks directly\u00a0from the\u00a0Kore.ai application. To use the <em>OpsGenie<\/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>OpsGenie<\/em>, and the\u00a0notification messages that you want. This topic describes the <em>OpsGenie<\/em>\u00a0built-in Bot\u00a0for Kore.ai.\u00a0For more information about other Kore.ai Bots, see <a style=\"line-height: 1.42857;background-color: #ffffff\" href=\"\/docs\/bots\/about-kore-bots\/addingbots\/\">\u00a0Adding Bots<\/a>.<\/p>\n<h1><span class=\"ez-toc-section\" id=\"About_the_Koreai_Bot_for_OpsGenie\"><span class=\"wysiwyg-font-size-x-large\">About the Kore.ai Bot for\u00a0OpsGenie<\/span><\/span><\/h1>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"logo2 alignleft\" src=\"\/wp-content\/uploads\/sites\/35\/DIYOpsGenieLogo-1.png\" alt=\"DIYOpsGenieLogo\" width=\"253\" height=\"59\" \/><em>OpsGenie<\/em> integrates with your monitoring tools and services, and can initiate alerts using\u00a0email, SMS, telephone, as well as\u00a0iOS and\u00a0Android push notifications.<\/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>Project Management<\/strong>\u00a0&#8211; This Bot is available in the Kore.ai application in the\u00a0<strong>Project Management<\/strong> category.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u00a0<\/strong><\/p>\n<h1><span class=\"ez-toc-section\" id=\"Configuring_OpsGenie_Webhooks\"><a id=\"webhook\"><\/a><span class=\"wysiwyg-font-size-x-large\">Configuring OpsGenie\u00a0Webhooks<\/span><\/span><\/h1>\n<p>To configure a <em>OpsGenie<\/em> webhook for Kore.ai, you must have a <em>OpsGenie<\/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>OpsGenie<\/em>\u00a0system administrator for\u00a0your company. For more information, see the\u00a0<a href=\"https:\/\/www.opsgenie.com\/docs\/getting-started\/users-and-roles\" target=\"_blank\" rel=\"noopener noreferrer\">Users and Roles<\/a>\u00a0in the <em>OpsGenie<\/em> documentation.<br \/>\nTo get started configuring the webhook in <em>OpsGenie<\/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\u00a0<em>OpsGenie<\/em>.<\/li>\n<li>A valid Username and Password for an account with <em>OpsGenie<\/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>OpsGenie<\/em>\u00a0webhook using a test account, you will have to recreate the alert and get a new webhook URL to configure in <em>OpsGenie<\/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_a_OpsGenie_Webhook\"><span class=\"wysiwyg-font-size-large\">Configuring a OpsGenie\u00a0Webhook<\/span><\/span><\/h2>\n<p>This procedure describes the steps in <em>OpsGenie<\/em>\u00a0to configure a webhook using a Kore.ai webhook URL endpoint.<\/p>\n<ol>\n<li>Log on to <em>OpsGenie<\/em>, and then on the left navigation bar, click <strong>Integrations<\/strong>. The <strong>Add Service\u00a0Integrations<\/strong>\u00a0page is displayed.<\/li>\n<li>Click <strong>t<\/strong>he\u00a0<strong>Webhook<\/strong> <img decoding=\"async\" class=\"inline\" src=\"\/wp-content\/uploads\/sites\/35\/DIYHoneybadgerIntergrationsIcon-1.png\" alt=\"DIYHoneybadgerIntergrationsIcon-1\" \/>\u00a0icon. The <strong>Webhook<\/strong> page is displayed.<\/li>\n<li>Ensure the <strong>Enable<\/strong> field is selected.<\/li>\n<li>In the <strong>Webhook URL<\/strong> field, enter the\u00a0Kore.ai webhook URL for the alert.<\/li>\n<li>In\u00a0the <strong>Alert Filter<\/strong> field, set <strong>Match All<\/strong>.<\/li>\n<li>Optionally, click the\u00a0<strong>change this name<\/strong>\u00a0link to specify a new name for the webhook used in the <em>OpsGenie<\/em> application.<\/li>\n<li>Click <strong>Save Integration<\/strong> to save and then close the <strong>Webhook<\/strong> page.<\/li>\n<\/ol>\n<p>For more information, see <a href=\"https:\/\/www.opsgenie.com\/docs\/integrations\/webhook-integration\" target=\"_blank\" rel=\"noopener noreferrer\">Webhook Integration<\/a> in the <em>OpsGenie<\/em>\u00a0documentation.<br \/>\nYou can setup message notifications to your Kore.ai account using a <em>OpsGenie<\/em>\u00a0webhook. 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>, click <strong>IT<\/strong>\u00a0<strong>Alerts<\/strong>, and then\u00a0in\u00a0the <strong>Setup Task\u00a0<\/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-opsgenie\/#webhook\">Configuring OpsGenie\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<\/ul>\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>OpsGenie<\/em>, when any of the events occur in <em>OpsGenie<\/em>, a message is displayed on the <strong>Bots<\/strong> tab in the <strong>Messages<\/strong> section for the Kore.ai account.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kore.ai provides integration for a built-in OpsGenie\u00a0Bot\u00a0that you can use to display\u00a0message notifications and execute tasks directly\u00a0from the\u00a0Kore.ai application. To use the OpsGenie\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 OpsGenie, and the\u00a0notification messages that you want. This&#8230;<\/p>\n","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-17746","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\/17746","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=17746"}],"version-history":[{"count":0,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/17746\/revisions"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=17746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=17746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=17746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}