Skip to main content
All CollectionsOnboarding
Backfilling GitHub data
Backfilling GitHub data
Updated over a month ago

DX onboarding uses pull request webhook events to track and measure ramp-up time. To backfill the data, you'll provide DX a GitHub API token and your GitHub organization slug.

Steps to get your organization's slug

1. Go to your organizations page and copy the text there.

Steps to create the API token

Fine-grained token

1. Go to your personal access tokens page and click "Generate new token"

2. Under "Repository access", select "All repositories".

3. Under "Repository permissions" enable "Pull requests > Access: Read-only"

4. Under "Organization permissions", enable "Members > Access: Read-only"

Classic token

1. Go to your personal access tokens page and click "Generate new token (classic)"

2. Enable the "repo" scope

3. Enable the "admin:org > read:org" scope

What DX does with your API key:

  1. Get a list of contributors in your org

  2. Get each contributor's earliest 10 PRs

  3. Store the PR merge timestamps to calculate time-to-Nth PR metrics

Did this answer your question?