Install the GitHub app
To install the LaunchDarkly Engineering Insights GitHub app:- Click Get started at the bottom of the screen. A menu appears.
- Click Connect to GitHub. The setup screen appears.
- Click Install now from the “Source control” section.
Engineering insights does not request or store your source codeThe GitHub app asks for read access to code, metadata, and pull requests for the repositories you select. LaunchDarkly does not request or store any code contents, only pull request and commit metadata.
- Follow the OAuth workflow to install the app automatically. After you accept the installation, you are redirected back to LaunchDarkly.
Associate repositories with projects
LaunchDarkly automatically creates repository associations when it receives deployments or code references. Optionally, you can manually configure additional associations. This allows you to see code-based metrics before you send deployments. To associate repositories with projects before sending deployments:- From within engineering insights, click your display picture and choose “Connect code repositories” from the menu. If you haven’t sent any pull requests yet, then the lead time setup card will be empty. In this case, you can click View repository associations from the lead time setup card.
- In the Repository menu, select a repository. Only the repositories that you selected when you installed the GitHub app are available. To add more repositories, adjust the settings for the GitHub app in your GitHub account.
- In the Project name menu, select a project. All of your LaunchDarkly projects are available.
- Click Save configuration.

The "Associate repositories with projects" setup screen.