# Opsgenie

> Source: https://truto.one/docs/integration-guides/opsgenie/

Opsgenie connects with an API key and the instance (US or EU) your account is on.

:::callout{type="info"}
- You need to be an Opsgenie admin. Custom user roles need the Standard or Enterprise plan.
:::

## Install the Opsgenie integration

Install Opsgenie from [Available integrations](https://app.truto.one/integrations/available/9543763c-79fb-404e-9389-903abd80c743) in each environment you connect accounts from.

## Create an API key

1. Sign in to Opsgenie and go to **Settings** → **App settings** → **API key management**.
2. Click **Add new API key**.
   ![Add new API key](https://docs-assets.truto.one/opsgenie-details-1.png)
3. Enter a name and select the access rights for the key. Click **Add API key**.
   ![Access rights](https://docs-assets.truto.one/opsgenie-details-2.png)
4. Copy the key.

## Connect an Opsgenie account

1. Click **Connect Account**.
   ![Click Connect Account](https://docs-assets.truto.one/truto-connect-account.png)
2. Enter a Tenant ID. This can be any ID you choose. Click **Get connection link**.
   ![Get connection link](https://docs-assets.truto.one/truto-connect-account-modal.png)
3. Open the generated link. You can also share it with your customer so they connect their own Opsgenie account.
   ![Share connection link](https://docs-assets.truto.one/truto-connect-account-link.png)
4. Select **Opsgenie**.
5. Fill in the form and click **Connect**:

   | Field | Required | What to enter |
   |---|---|---|
   | **API Key** | Yes | Your Opsgenie API key. |
   | **Base URL Instance** | Yes | Pick **EU** if your Opsgenie account is on the EU instance. Pick one of **EU**, **US**. Defaults to **US**. |
6. Close the tab when you see the connection successful message. The new account appears under **Integrated Accounts**. Click its Account ID to see its details and make API calls.
