| title | Configuring Sourcebot from a file (declarative config) |
|---|---|
| sidebarTitle | Declarative config |
import ConfigSchema from '/snippets/schemas/v3/index.schema.mdx'
Some teams require Sourcebot to be configured via a file (where it can be stored in version control, run through CI/CD pipelines, etc.) instead of a web UI. For more information on configuring connections, see this overview.
| Variable | Description |
|---|---|
CONFIG_PATH |
Path to declarative config. |
{
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/refs/heads/main/schemas/v3/index.json",
"connections": {
"connection-1": {
"type": "github",
"repos": [
"sourcebot-dev/sourcebot"
]
}
}
}