*Version: 1.0 | Last Updated: 2025-02-25* ## Overview - **Integration Name:** OpsGenie - **Purpose:** Integrate OpsGenie with Moovingon AI, enabling users to send OpsGenie notifications - **Audience:** Support team, TAM - **Prerequisites:** - A valid Splunk account - MoovingON AI account access with integration permissions --- ## Table of Contents - [[#Setup Instructions]] - [[#Configuration]] - [[#Testing the Integration]] - [[#FAQs]] - [[#Related Links]] --- ## Setup Instructions Webhook should be created in the MoovingON AI platform to send alerts to OpsGenie. 1. **Step 1:** Webhook should be created in settings **![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdWIaDgtaHt_x9LgIvPW85Ea7tLRUT0p3ceSGLJrK-nVjbueBtE0IBzc237VIA7j71kB_JKCz6aqBUGUBV0QL04N4rWv6nzCTAmebl0vn1q4NFYsvjybjLIutUU6zs2OS-SNiHfcA?key=KBEKAuRqwRONFDBsNTxVIo1q)** 2. **Step 2:** Click on the **Plus** symbol in the upper bar: **![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdm_c8HZMD4fCX5SNBIbRbfcW7z8urvUXiHIdNtRulWSFYaRrbmnevTX9AzjHHNqoGgH4hx6XabNBXLDMzURWK_XUU6j38yvaOsi2UJsMrSHI9Dz4Svcya-D2PwaQYBC-wIIWK0?key=KBEKAuRqwRONFDBsNTxVIo1q)** 3. **Step 3:** On the right side of the screen, a window will appear to create the webhook. The parameters: - **Name**: Webhook's name - **Method**: POST - **Content-Type**: JSON - **URL**: This is the URL used to open the alert in OpsGenie "https://api.opsgenie.com/v2/alerts" - **Payload**: The alert details for the alert created in OpsGenie: The full description about the payload can be found in this [link](https://docs.opsgenie.com/docs/alert-api#create-alert) Here is an example payload, which was used in the screenshot: { "message": "An example alert message", "description":"Every alert needs a description", "responders":[ {"username":"[email protected]", "type":"user"} ], "visibleTo":[ {"username":"[email protected]", "type":"user"} ], "priority":"P1" } - Authorization: A header should be added by clicking "**Add Header**". The value field should contain "GenieKey {APIKey}" The {APIKey} should be replaced with the key extracted from OpsGenie. **![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdQPeXov88KrPkhKV_WicEW0ylu1oAoARtf7zFO0Wi3Y4IyrodssnXWFOKIXYOaakRsaXqGcvWfMiw6z2XUhG7Gxz_Xno-GQMvQVBVtdTsaHDB8-pXAg-yP1mu5wGQgqxSvkPbxlg?key=KBEKAuRqwRONFDBsNTxVIo1q)** --- ## Configuration - **API Keys/Secrets:** Steps for extracting the API Key from the OpsGenie site: 1. **Step 1**: The Team should be created to implement the MoovingON AI integration: Click on teams in the upper bar: **![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdXXGHUf6wUP2cZ1m-tDV9duTnFrqg-Q1WoaqS1nDoNIZf6KsNu4Oluk5Bd_hdQztRdRyoyytZe22QVa_zZsbXqXxmBKUzySfRnKjsmfdY4bmXVcSZr1Yl_2I7plmKOpnt7r0aDUg?key=KBEKAuRqwRONFDBsNTxVIo1q)** Click on **Add team**: **![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcLXaKIA7ISxBI4OEdhMSki1QuiCzkTVj8afMDSzwLDVoIw-mmynKlM-OkhVImsUtM2I3eYC-MNILTyjNFCzBbDDGxjaCrbUrIgI73A9FQ8-Spk-VkrB9mGGsoc0vtBCL3qxqLKNA?key=KBEKAuRqwRONFDBsNTxVIo1q)** Team details: **![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeHyO3beTlONpVyp5A6QbiBVqrpxtACwaebeDoQbgFmDGICYNYtchtNcmYNUCTG7Ir5PcuYpc6ORNsRBcXy3Mx8Wx9zuEZUBzNi5TarINvcQyXHRoBmu2eCtbHSecCLGBcyfeZFGw?key=KBEKAuRqwRONFDBsNTxVIo1q)** 2. Step 2: Create a new integration in the team settings: **![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXehh9IndSf4-9AVLrSIQOZSUKNMSQ3sUf5Mgwz-7JfSxcaiq3vAml46SAEazAoMBbJA9426vv-BtnvlcKLuIisQI3POxKLJTDiWYNnZ8S1dkybzEh2ZEmEDj_kzegxMu4cBZPbE?key=KBEKAuRqwRONFDBsNTxVIo1q)** Add new integration by clicking on "**Add integration**" and choosing **API**: **![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdlpuOpkd473wu81w7_1HY0BPycox2OMDVyZlgCYHf9j32QItGqVTpOXXphzskPvd_e5ntPL6DJF9oj8g7Qsol8fDjWrBYUGSaC2uy13WixeX1Wq3N9l8aASgPzP5MDtrB9qbzUlQ?key=KBEKAuRqwRONFDBsNTxVIo1q)** **![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXc-6stzoyIbdMGgtuRlNW9QVh1mCWXlGVynmDrxOurJnW_Xo0zLagQL8QvEs7-BE7WHM2kOiHwyUSiwLCz3qGV1hfyZ7nSDmelTQQdpu-vrIL-sEzUYWk_Dyg56D9laP128M8J_?key=KBEKAuRqwRONFDBsNTxVIo1q)** Here we can find the API key to set up the integration in MoovingON.AI In the last step, we have to click on "**Turn on the integration**". **![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXc5R-vE1XMEABzMh2giC83o8VfDGrgbF3Tmd9T0PbDlS6PAfYeqtI3iscd2W0mIGsdMbBjWLVWU9V9S8dGXIRJ240SMx1MEulrwnsd_HsGfM0zFsccQk655kR3Z-VJLGUyL6NtwXg?key=KBEKAuRqwRONFDBsNTxVIo1q)** --- ## Testing the Integration - **Test Cases:** By running the webhook on alert, we receive this response: **![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXd00pTfSvEjfAXMEI_9SflK3zOL3NlInUDtFmApllCclO3QUygtjthqerMXv73PK3VJWLJXB9gPiuL7cpT9B_U_HZ61Cc_JTnSR3ir1LepaQJNuOHgLsEWZBemTni41wgmBuw-0?key=KBEKAuRqwRONFDBsNTxVIo1q)** We can see that it's received in OpsGenie as well: **![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdPycItzDts8e9oqcM1dvinmWbFCVGqDV5cfMz0aKth4lOkANJYJbQ2DM6JZTeCGfiS4sLUK4f9_Sl4YeL5-rnKjNBa9h3ZUC0h_rIwPTBOzuybX89kKkJr3SMseJPTKxwgt0S8sw?key=KBEKAuRqwRONFDBsNTxVIo1q)** --- ## FAQs - **Q:** How do you extract an API Key? **A:** It's explained in the [[#Configuration]] section - **Q:** Which field can I add to the payload in Step 3 in Setup? **A:** It's explained in the [[#Setup Instructions]] --- ## Related Links - **External Resources:** [Creating Alert in OpsGenie](https://docs.opsgenie.com/docs/alert-api#create-alert), [Creating teams and integration in OpsGenie](https://support.atlassian.com/opsgenie/docs/set-up-an-integrated-tool/)