# Opsgenie

### Enter your API key and service region

![Create OpsGenie - Authenticate - 1.png](/files/d8d7f34215d6dd903bc60df19ff2f7f221e146e8)

To get the API key, simply head to Teams → Integrations → API Integration as shown below:

![Opsgenie - Integration.gif](/files/66d5c6d1502643b109077d7175103af6f18fe73e)

### Test the integration

At this point, we just need to test your integration so that we're sure everything is working smoothly.

![Create OpsGenie - Test - Success.png](/files/4c29473249d3ddda212262e3a387942a2cc0b8d6)

### Finish setup

All done! Your integration is now set up and ready to go. Now all you'll need to do is head to the rules page to forward incidents to Opsgenie automatically.

![Create OpsGenie - Finish.png](/files/bb3423bc2d956aadf69f263107ed0f91d455c4e0)

### Sample forwarded issue

Issues forwarded to Opsgenie should look something like this.

<figure><img src="/files/UaloH57SDmcQ1pCB9Qwq" alt=""><figcaption><p>Opsgenie - Sample Bug.png</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.luciq.ai/product-guides-and-integrations/integrations/opsgenie.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
