You can install and preconfigure the Sourcegraph Chrome extension for all members of a G Suite organization or organizational unit, so that they can get code intelligence on files and diffs.
By default, the browser extension only has access to github.com. Access to additional sites is granted by the user, on a site-by-site basis.
The Sourcegraph browser extension is open source and never sends any logs, pings, usage statistics or telemetry to Sourcegraph.com. Read more about browser extension privacy here.
Using the Google Admin Console, you can automatically install the Sourcegraph browser extension for all users in your organization. To do so:
dgjhfomjieaadpoljlnidmbgkdffpack
.{ "sourcegraphURL": { "Value": "https://sourcegraph.example.com" } }
The Sourcegraph browser extension will then be rolled out to all managed browsers in your organization, preconfigured to point to your self-hosted Sourcegraph instance. The roll-out may take some time.
Users will need to have valid accounts and be signed in to your Sourcegraph instance for the browser extension to provide code intelligence.
Users may also need to grant additional permissions to the Sourcegraph browser extension in order for it to provide code intelligence on your code host. To check if Sourcegraph is properly configured, navigate to any page on your code host, and click the Sourcegraph icon in the browser toolbar. The popup will prompt you to grant additional permissions if needed:
Users can disable Sourcegraph at any time by using the toggle in the extension settings: