Backfilling GitHub data
To backfill historical onboarding data, provide DX a GitHub API token and your GitHub organization slug.
Step 1: Get your organization slug
- Go to your organizations page.
- Copy your organization name.

Step 2: Create an API token
You can use either a fine-grained or classic token. The token is only needed for the duration of the backfill.
Fine-grained token
- Go to your personal access tokens page and click Generate new token.
- Under Repository access, select “All repositories”.
- Under Repository permissions, enable Pull requests → Read-only.
- Under Organization permissions, enable Members → Read-only.
Classic token
- Go to your personal access tokens page and click Generate new token (classic).
- Enable the
reposcope. - Enable the
admin:org→read:orgscope.
Step 3: Run the backfill
Navigate to Onboarding setup and enter your organization slug and API token to start the backfill.
Note: What DX does with your API token:
- Get a list of contributors in your org
- Get each contributor’s earliest 10 PRs
- Store the PR merge timestamps to calculate time-to-Nth PR metrics