Sourcebot can sync code from GitLab.com, Self Managed (CE & EE), and Dedicated. If you’re not familiar with Sourcebot connections, please read that overview first.Documentation Index
Fetch the complete documentation index at: https://sourcebot-msukkarieh-ado.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Examples
Sync individual projects
Sync individual projects
Sync all projects in a group/subgroup
Sync all projects in a group/subgroup
Sync all projects in a self managed instance
Sync all projects in a self managed instance
This option is ignored if
url is unset. See connecting to a custom gitlab host.Sync all projects owned by a user
Sync all projects owned by a user
Filter projects by topic
Filter projects by topic
Exclude projects from syncing
Exclude projects from syncing
Authenticating with GitLab
In order to index private projects, you’ll need to generate a GitLab Personal Access Token (PAT). Create a new PAT here and make sure you select theread_api scope:

token property, either as an environment variable or a secret:
- Environment Variable
- Secret
- Add the
tokenproperty to your connection config:
- Pass this environment variable each time you run Sourcebot:
Connecting to a custom GitLab host
To connect to a GitLab host other thangitlab.com, provide the url property to your config:
Troubleshooting
- If you’re seeing errors like
GitbeakerTimeoutError: Query timeout was reachedwhen syncing a large number of projects, you can increase the client’s timeout by setting theGITLAB_CLIENT_QUERY_TIMEOUT_SECONDSenvironment variable. #162
Schema reference
Reference
Reference


