|
| 1 | +--- |
| 2 | +title: Cross-org Paging |
| 3 | +private: true |
| 4 | +further_reading: |
| 5 | +- link: '/service_management/on-call/' |
| 6 | + tag: 'Documentation' |
| 7 | + text: 'Datadog On-Call' |
| 8 | +--- |
| 9 | + |
| 10 | +<div class="alert alert-info"> |
| 11 | +Cross-org paging is in Preview and only supported for automated workflows (for example: monitor alerts, incident notification rules). Manual paging through the Datadog UI or API is limited to local organizations and data centers. |
| 12 | +</div> |
| 13 | + |
| 14 | +## Overview |
| 15 | + |
| 16 | +Cross-org paging enables users to automatically trigger alerts to On-Call teams that reside in other Datadog organizations or data centers. Cross-org paging is useful when your operational or organizational setup spans multiple Datadog orgs or data centers, and you want to centralize incident response in one single org. |
| 17 | + |
| 18 | +With cross-org paging, you can: |
| 19 | + |
| 20 | +- **Manage On-Call teams in a central org**: Consolidate all On-Call teams in a single org, and trigger pages from any org or region. |
| 21 | + |
| 22 | +- **Avoid duplicating On-Call configs**: Instead of replicating the same team structures across orgs, use one set of configs and page teams from anywhere. |
| 23 | + |
| 24 | +- **Page teams across regional or compliance boundaries**: Page teams in compliant regions (like US1 or AP1) while keeping alerting logic where it originates. |
| 25 | + |
| 26 | +## Setup |
| 27 | + |
| 28 | +To enable paging between orgs or datacenters, you must establish a secure connection between the **source org** (where alerts originate) and the **destination org** (where the On-Call team is managed). |
| 29 | + |
| 30 | +1. In your destination org, [create a service account][1] with On-Call API access. This service account must have the following permissions: |
| 31 | + - `on_call_read` - Read access to On-Call teams and configurations |
| 32 | + - `on_call_page` - Ability to trigger pages to On-Call teams |
| 33 | + - `on_call_respond` - Respond to On-Call Pages |
| 34 | + - `user_access_read` - Read user information (automatically included in most roles) |
| 35 | + |
| 36 | + <div class="alert alert-warning"> |
| 37 | + Service accounts created with Terraform may be missing the <code>user_access_read</code> permission. This permission is automatically added to roles created through the UI, but it cannot be manually added through the UI and may not be included in Terraform-configured roles. If cross-org paging fails with permission errors, add an additional role to your service account that includes the <code>user_access_read</code> permission. |
| 38 | + </div> |
| 39 | + |
| 40 | +2. In your destination org, [create an API key][2]. |
| 41 | + |
| 42 | +2. In your destination org, [create an application key][3] for each source org you want to allow. Ensure that each application key is **unscoped**: assign it to a role, not directly to the service account. |
| 43 | + |
| 44 | +3. In your source org, navigate to your [On-Call settings][4] and select [**Cross-Org Paging**][5]. |
| 45 | + |
| 46 | +4. Select **Add Connection** and provide the following values: |
| 47 | + - **Connection Name**: A name for your new connection. |
| 48 | + - **Datacenter**: Your destination org's data center. |
| 49 | + - **API Key**: The API key you created in your destination org. |
| 50 | + - **Application Key**: The application key you created in your destination org for this source org. |
| 51 | + |
| 52 | +When you create this connection, Datadog securely stores your credentials and fetches available On-Call team handles from the destination org. This process may take up to five minutes. |
| 53 | + |
| 54 | +After this process is complete, destination org team handles appear in your source org's autocomplete menus (for example, in monitors). |
| 55 | + |
| 56 | +### Usage |
| 57 | +After the setup process is complete, you can reference cross-org On-Call team handles in automated alert workflows, in the same way that you reference local handles. |
| 58 | + |
| 59 | +For example, if your `@oncall-core-infra` team is managed in your destination org, you can use the following in an automated alert in your source org: |
| 60 | + |
| 61 | +``` |
| 62 | +High memory usage detected on backend services. @oncall-core-infra |
| 63 | +``` |
| 64 | + |
| 65 | +When an alert is triggered, Datadog detects that the handle is external, and the page is routed to the correct destination org using the stored service account credentials. |
| 66 | + |
| 67 | +## Limitations |
| 68 | +- Manual paging (for example, through the API or web UI) is not supported across orgs. Manual paging is only supported within your current org or data center. |
| 69 | +- Links in cross-org notifications (for example, monitor or incident URLs) point to the source org. They may not resolve cleanly in the destination org UI. |
| 70 | +- Handle syncing happens periodically; changes in destination org On-Call teams may take time to propagate. |
| 71 | + |
| 72 | +## Further Reading |
| 73 | + |
| 74 | +{{< partial name="whats-next/whats-next.html" >}} |
| 75 | + |
| 76 | +[1]: https://app.datadoghq.com/organization-settings/service-accounts |
| 77 | +[2]: https://app.datadoghq.com/organization-settings/api-keys |
| 78 | +[3]: https://app.datadoghq.com/personal-settings/application-keys |
| 79 | +[4]: https://app.datadoghq.com/on-call/settings |
| 80 | +[5]: https://app.datadoghq.com/on-call/settings/cross-org-paging |
0 commit comments