# Opsgenie

## Connection Requirements

{% stepper %}
{% step %}

### Domain

The Domain of the Opsgenie.

{% hint style="info" %}
🔵 **Default: api.opsgenie.com**
{% endhint %}
{% endstep %}

{% step %}

### API Key

Generating API Key:

* Navigate to Settings page > App Settings >> API Key Management.
* Click Add New API Key.
* Enter a name for the API key and select the access rights to give to this API key. You can regenerate the shown API key before saving, if you would like to.
* Click Add API Key to save the new API key.
  {% endstep %}
  {% endstepper %}

{% hint style="warning" %}
⚠️ **Attention**\
Please perform a **connection test** to ensure there is a valid connection to the host.\
When the discovery operation is finalized, you will be able to see the details on the **Assets** page.
{% endhint %}


---

# 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.octoxlabs.com/adapters/adapters/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.
