Prerequisites
- Access to your CircleCI account
- A CircleCI Personal API Token
- Admin permissions in your organization (recommended for service accounts)
Setup
Create a CircleCI Personal API Token
Recommended: Use a Service Account. Create a dedicated account like
circleci-integration@yourcompany.com to prevent issues when team members leave and provide better audit trails.- Log into your CircleCI account
- Go to Personal API Tokens
- Click “Create New Token”
- Name it “Gitar Integration”
- 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 CircleCI integration
- Click “Connect” to begin the setup process
Configure and Connect
Enter your CircleCI Personal API Token. The token will be securely stored and encrypted.



- Fill in the required API token field
- Click “Connect CircleCI” to establish the connection
- If successful, the integration status will show as connected
- If the connection fails, verify your token is valid and has not expired
Troubleshooting
Connection Failed
Connection Failed
If your connection fails, verify:
- CircleCI API token is correct and valid
- Token has not expired
- You have sufficient permissions in CircleCI
- CircleCI service is accessible
Invalid Token Error
Invalid Token Error
If you receive an “Invalid CircleCI API token” error:
- Check that you’ve copied the token correctly
- Verify the token hasn’t expired
- Ensure you’re using a Personal API Token (not a Project API Token)
- Try creating a new token if the issue persists
Missing Build Data
Missing Build Data
If Gitar isn’t detecting your builds:
- Ensure your repositories are connected to both your Git provider and CircleCI
- Verify your CircleCI projects are properly configured
- Check that status checks are enabled in your Git provider for CircleCI
Security Notes
- API tokens are encrypted and securely stored using AWS Secrets Manager
- Tokens can be revoked at any time from your CircleCI 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