Environment variables


src requires two environment variables to be set to authenticate against your Sourcegraph instance.


SRC_ENDPOINT defines the base URL for your Sourcegraph instance. In most cases, this will be a simple HTTPS URL, such as the following:


If you're unsure what the URL for your Sourcegraph instance is, please contact your site administrator.


src uses an access token to authenticate as you to your Sourcegraph instance. This token needs to be in the SRC_ACCESS_TOKEN environment variable.

To create an access token, please refer to "Creating an access token".