πŸ“Retrieving Datadog API Key

This section covers if you integrating PagerDuty. If you are using any other tool you can skip this section

To integrate with Datadog, Pagerly requires both of the following keys:


βœ… Required Keys

1. API Key (Required)

  • Used for:

    • Authenticating requests

    • Basic data access


2. Application Key (Required)

  • Used for:

    • Accessing sensitive resources like:

      • On-call schedules

      • Users

      • Rotations

  • This is mandatory for on-call APIs


πŸ“Œ Summary

πŸ‘‰ For Pagerly to work fully with Datadog, we need:

  • API Key + Application Key

  • With Read access to On-call & Users

  • (Write access optional β€” only if you plan to modify schedules later)


πŸ”‘ How to Generate API Key

Step-by-step:

  1. Go to Datadog

  2. Navigate to: πŸ‘‰ Organization Settings β†’ API Keys

  3. Click β€œNew API Key”

  4. Give it a name (e.g., pagerly-integration)

  5. Copy the generated key


πŸ”‘ How to Generate Application Key

Step-by-step:

  1. Go to: πŸ‘‰ Organization Settings β†’ Application Keys

  2. Click β€œNew Application Key”

  3. Select:

    • Scoped Application Key (recommended)

  4. Assign permissions:

    • βœ… on_call_read

    • βœ… users_read

    • (Optional) on_call_write

  5. Generate and copy the key


βš™οΈ Permission Levels (Datadog)

Unlike PagerDuty, Datadog uses:

1. API Key

  • No granular permissions

  • Used for authentication

2. Application Key

  • Scoped permissions (fine-grained)

  • Controls access to:

    • On-call schedules

    • Users

    • Teams


πŸš€ Next Step

πŸ‘‰ Now that keys are ready:

  • Add API Key + App Key in Pagerly

  • Configure Schedule ID

  • Create Team


πŸ”₯ Important Notes

  • Keys are tied to a Datadog site:

    • datadoghq.com (US)

    • datadoghq.eu (EU)

    • etc.

  • Make sure:

    • Keys and API calls use the same site

  • Store keys securely (they provide full account access)

Last updated