After you enable the link, each user can navigate directly from GitHub Enterprise Server to GitHub Insights. For more information, see "Navigating between GitHub Enterprise and GitHub Insights."
-
Connect to the administrative shell for GitHub Enterprise Server. For more information, see "Accessing the administrative shell (SSH)."
-
Run the following command.
ghe-config 'app.github.insights-available' 'true' && ghe-config-apply
-
Return to GitHub Enterprise Server.
-
Navigate to your enterprise account by visiting
https://HOSTNAME/enterprises/ENTERPRISE-NAME
, replacingHOSTNAME
with your instance's hostname andENTERPRISE-NAME
with your enterprise account's name. -
In the enterprise account sidebar, click Settings.
-
Under Settings, click GitHub Insights.
Note: It takes several minutes after you run the configuration command for this option to become available in GitHub Enterprise. If you don't see GitHub Insights, wait, or restart GitHub Enterprise.
-
Under "GitHub Insights instance URL", type the URL of the server your company uses for GitHub Insights.
-
Click Save.