Gitar automatically integrates with GitHub Actions and GitLab Pipelines — no setup required. If you use Buildkite as an external CI platform, connect it here so Gitar can read build logs, analyze failures, and push fixes.Documentation Index
Fetch the complete documentation index at: https://docs.gitar.ai/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Access to your Buildkite account
- A Buildkite API Access Token with the required scopes
- Admin permissions in your organization (recommended for service accounts)
Required Token Scopes
Setup
Create a Buildkite API Access Token
Recommended: Use a Service Account. Create a dedicated account like
buildkite-integration@yourcompany.com to prevent issues when team members leave and provide better audit trails.- Log into your Buildkite account
- Go to API Access Tokens
- Click “New API Access Token”
- Name it “Gitar Integration”
- Select all the required scopes listed above
- Copy the token immediately (you won’t be able to see it again)
Access Gitar Integrations
- Navigate to your Gitar organization settings
- Go to the Integrations section
- Find the Buildkite integration
- Click “Connect” to begin the setup process
Configure and Connect
Enter your Buildkite API Access Token. The token will be securely stored and encrypted. Gitar verifies the token by making a test API call to Buildkite.



- Fill in the required API token field
- Click “Connect Buildkite” to establish the connection
- If successful, the integration status will show as connected
- If the connection fails, verify your token is valid and has all required scopes
Troubleshooting
Connection Failed
Connection Failed
If your connection fails, verify:
- Buildkite API token is correct and valid
- Token includes all required scopes listed above
- Token has not expired
- You have sufficient permissions in Buildkite
- Buildkite service is accessible
Invalid Token or Insufficient Permissions
Invalid Token or Insufficient Permissions
If you receive permission errors:
- Check that your token includes all 9 required scopes
- Verify you’re using an API Access Token (not a different token type)
- Ensure your user account has access to the organization
- Try creating a new token with the correct scopes
Missing Build Data
Missing Build Data
If Gitar isn’t detecting your builds:
- Ensure your repositories are connected to both your Git provider and Buildkite
- Verify your Buildkite pipelines are properly configured
- Check that status checks are enabled for your Git provider
- Confirm your token has
read_buildsandread_pipelinesscopes
Scope-Related Issues
Scope-Related Issues
Security Notes
- API tokens are encrypted and securely stored using AWS Secrets Manager
- Tokens can be revoked at any time from your Buildkite account settings
- We recommend rotating tokens regularly for enhanced security
- Use service accounts for production environments to avoid disruption when team members leave
- Only grant the minimum required scopes for your use case