Skip to main content

Enabling repository search from your private enterprise environment

You can connect your personal accounts on and your private GitHub Enterprise environment to search for content in certain repositories from GitHub Enterprise Server.

About search for repositories from GitHub Enterprise Server

You can search for designated private repositories on GitHub Enterprise Cloud from your GitHub Enterprise Server instance.


  • An enterprise owner for GitHub Enterprise Server must enable GitHub Connect and unified search for private repositories. For more information, see the following.

    • "[Enabling unified search for your enterprise](/admin/configuration/configuring-github-connect/enabling-unified-search-for-your-enterprise"
  • You must already have access to the private repositories and connect your account on GitHub Enterprise Server with your account on For more information about the repositories you can search, see "About searching on GitHub."

Enabling repository search from GitHub Enterprise Server

  1. Sign into GitHub Enterprise Server and

  2. On GitHub Enterprise Server, in the upper-right corner of any page, click your profile photo, then click Settings. Settings icon in the user bar

  3. In the left sidebar, click GitHub Connect. GitHub Connect tab in the user settings sidebar

  4. Click Connect to

    Connect to from GitHub Enterprise Server settings

  5. Click Connect to

    Connect to from GitHub Enterprise Server settings