> For the complete documentation index, see [llms.txt](https://docs.luciq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.luciq.ai/product-guides-and-integrations/integrations/opsgenie.md).

# Opsgenie

Connect Luciq with Opsgenie to automatically create alerts and incidents from crashes and performance issues detected in your mobile app.

### Enter your API key and service region

![Create OpsGenie - Authenticate - 1.png](https://2991836969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCha1KrkvNKPdcC0aGvuB%2Fuploads%2Fgit-blob-1ff1d5f5ce75127e92acbebe600ea75442e6aaee%2F75ba8c777945434ce5f8800685be5b3a9a7ed4d95c3e6d0892a3d459bc7ac896%20integrations%20opsgenie%201.png?alt=media)

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

![Opsgenie - Integration.gif](https://2991836969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCha1KrkvNKPdcC0aGvuB%2Fuploads%2Fgit-blob-bd33c0898de173da56e8465d4eca8c464941c0bc%2F2a6d160%20Opsgenie_%20_Integration.gif?alt=media)

### 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](https://2991836969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCha1KrkvNKPdcC0aGvuB%2Fuploads%2Fgit-blob-269948da12876a52e26eb0cc0be2900bfb99b481%2F11db2c2318068164999e2d731d52e08995910bebc134b0c4879f1556fc01c193%20integrations%20opsgenie%203.png?alt=media)

### 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](https://2991836969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCha1KrkvNKPdcC0aGvuB%2Fuploads%2Fgit-blob-32f8c190cdb8cc23eb0704dfc86fd68f56a57386%2F28731d2335cd2619bda3497dc802aa1638b8b28994779f10d265f546f6f4105e%20integrations%20opsgenie%204.png?alt=media)

### Sample forwarded issue

Issues forwarded to Opsgenie should look something like this.

<figure><img src="https://2991836969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCha1KrkvNKPdcC0aGvuB%2Fuploads%2Fgit-blob-75340bab0eafcd6d74f54e664fa9036c9971e128%2Fimage%20(11).png?alt=media" alt=""><figcaption><p>Opsgenie - Sample Bug.png</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
