Authenticating with Gerrit is currently not supported. If you need this capability, please raise a feature request.
Sourcebot can sync code from self-hosted gerrit instances. If you’re not familiar with Sourcebot connections, please read that overview first.

Connecting to a Gerrit instance

To connect to a gerrit instance, provide the url property to your config:
{
    "type": "gerrit",
    "url": "https://gerrit.example.com"
    // .. rest of config ..
}

Examples

Schema reference