github.com/argoproj/argo-cd/v2@v2.10.9/docs/operator-manual/notifications/services/opsgenie.md (about)

     1  # Opsgenie
     2  
     3  To be able to send notifications with argocd-notifications you have to create an [API Integration](https://docs.opsgenie.com/docs/integrations-overview) inside your [Opsgenie Team](https://docs.opsgenie.com/docs/teams).
     4  
     5  1. Login to Opsgenie at https://app.opsgenie.com or https://app.eu.opsgenie.com (if you have an account in the european union)
     6  2. Make sure you already have a team, if not follow this guide https://docs.opsgenie.com/docs/teams
     7  3. Click "Teams" in the Menu on the left
     8  4. Select the team that you want to notify
     9  5. In the teams configuration menu select "Integrations"
    10  6. click "Add Integration" in the top right corner
    11  7. Select "API" integration
    12  8. Give your integration a name, copy the "API key" and safe it somewhere for later
    13  9. Make sure the checkboxes for "Create and Update Access" and "enable" are selected, disable the other checkboxes to remove unnecessary permissions
    14  10. Click "Safe Integration" at the bottom
    15  11. Check your browser for the correct server apiURL. If it is "app.opsgenie.com" then use the US/international api url `api.opsgenie.com` in the next step, otherwise use `api.eu.opsgenie.com` (European API). 
    16  12. You are finished with configuring opsgenie. Now you need to configure argocd-notifications. Use the apiUrl, the team name and the apiKey to configure the Opsgenie integration in the `argocd-notifications-secret` secret. 
    17  
    18  ```yaml
    19  apiVersion: v1
    20  kind: ConfigMap
    21  metadata:
    22    name: <config-map-name>
    23  data:
    24    service.opsgenie: |
    25      apiUrl: <api-url>
    26      apiKeys:
    27        <your-team>: <integration-api-key>
    28  ```