How to set up GitHub
Authentication
GitHub uses OAuth authentication:- Click the Connect button in Cargo
- Authorize Cargo to access your GitHub account
- Connection is established automatically
- Go to GitHub → Settings → Developer settings → Personal access tokens
- Generate a new token with appropriate scopes
- Use this token in the API Key field
GitHub actions
Search contributors
Find contributors to a specific GitHub repository. Required fields:- Repository Owner: The username or organization (e.g., “facebook”)
- Repository Name: The repository name (e.g., “react”)
- Include Anonymous Contributors: Include contributors without GitHub accounts
- Limit: Maximum number of results
- Find developers working on specific technologies
- Identify potential hires skilled in particular frameworks
- Build lists of open source contributors for outreach
Get user
Retrieve detailed information about a GitHub user. Required fields:- Username: GitHub username to look up
- Profile information
- Email (if public)
- Company
- Location
- Bio
- Follower/following counts
- Public repos count
GitHub data models
Fetch repositories
Pull repositories matching a search query. Configuration:- Query: Search query with GitHub qualifiers
language:typescript stars:>1000- Popular TypeScript reposorg:facebook- All Facebook organization repostopic:machine-learning- ML-related repositories
Fetch stargazers
Pull users who have starred a repository. Required fields:- Owner: Repository owner (e.g., “vercel”)
- Repository: Repository name (e.g., “next.js”)
- Unifies contacts by email
- Minimum 30-minute sync interval
- Find developers interested in specific technologies
- Build targeted lists of potential users
- Identify early adopters and enthusiasts
Response data
User details include:
| Field | Description |
|---|---|
| login | GitHub username |
| Email (if public) | |
| name | Display name |
| company | Company name |
| location | Location |
| bio | Profile bio |
| blog | Personal website |
| Twitter username | |
| followers | Follower count |
| public_repos | Number of public repositories |
Contributor details include:
| Field | Description |
|---|---|
| login | GitHub username |
| contributions | Number of commits |
| avatar_url | Profile picture URL |
| html_url | GitHub profile URL |
Rate limits
GitHub API has a rate limit of 5,000 requests per hour for authenticated requests. Cargo handles rate limiting automatically.Best practices
- Use specific search queries to find relevant repositories
- Focus on active contributors (high contribution counts)
- Combine with enrichment tools to find email addresses
- Respect GitHub’s rate limits for large data pulls
- Target stargazers of complementary/competing projects

