This version of GitHub Enterprise was discontinued on 2021-03-02. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Enabling a link between GitHub Insights and GitHub Enterprise

You can enable a link that will allow users to navigate from GitHub Enterprise Server to GitHub Insights.

Site administrators for GitHub Enterprise Server can enable a link between GitHub Enterprise Server and GitHub Insights.

GitHub Insights is available with GitHub One. For more information, see "GitHub's products."

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."

  1. Connect to the administrative shell for GitHub Enterprise Server. For more information, see "Accessing the administrative shell (SSH)."

  2. Run the following command.

    ghe-config 'app.github.insights-available' 'true' && ghe-config-apply
  3. Return to GitHub Enterprise Server.

  4. Navigate to your enterprise account by visiting https://HOSTNAME/enterprises/ENTERPRISE-NAME, replacing HOSTNAME with your instance's hostname and ENTERPRISE-NAME with your enterprise account's name.

  5. In the enterprise account sidebar, click Settings.

    Settings tab in the enterprise account sidebar

  6. 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.

    GitHub Insights tab

  7. Under "GitHub Insights instance URL", type the URL of the server your company uses for GitHub Insights.

    GitHub Insights instance URL

  8. Click Save.