dd-github-onboarding
Datadog GitHub integration
Connect GitHub to Datadog in two moves: the install on GitHub's install screen (the user installs the Datadog GitHub App on a GitHub org/account they own), then Datadog linking that installation so it can read the chosen repositories. The background poll drives the link.
The install is the user's — this skill never installs on their behalf and
never writes credentials. All /api/ calls go through pup api, which
authenticates with the user's own session; that session needs the
Integrations Manage (manage_integrations) permission, which is what
authorizes the connect (see Important Notes when it is missing). The install
URL is minted through the Datadog API, so it carries a short-lived Datadog
state and GitHub's post-install redirect lands back on Datadog cleanly; its
bearer is captured from pup auth token in process memory only.