Loading...
🚧 Alpha Preview:CodeFlow Engine is currently in alpha. Features may change and some functionality may be limited.Share feedback →
Loading...
Connect your GitHub repositories to our deployed CodeFlow instance.
Navigate to our hosted CodeFlow instance and sign in with your GitHub account:
Open CodeFlow Engine →When prompted, authorize CodeFlow to access your GitHub repositories. The following permissions are required:
Install the CodeFlow GitHub App on your organization or personal repositories:
In the CodeFlow dashboard, configure settings for each connected repository:
For advanced customization, add an .codeflow.yml configuration file to your repository:
# .codeflow.yml
version: 1
analysis:
enabled: true
ai_provider: openai
model: gpt-4
workflows:
- name: pr_review
triggers:
- pull_request.opened
- pull_request.synchronize
actions:
- ai_analysis
- security_scan
- create_issues
notifications:
slack:
channel: "#pr-reviews"
quality_gates:
security:
block_on_critical: true
coverage:
minimum: 80Test your integration by creating a pull request:
For programmatic access, use the CodeFlow API to integrate with your existing workflows and tools:
# Example: Trigger analysis via API
curl -X POST https://app.codeflow.io/api/v1/analyze \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"repository": "owner/repo",
"pull_request": 123
}'Generate your API token from the CodeFlow Dashboard Settings.
CodeFlow can send webhook notifications to your systems when analysis is complete:
| Event | Description |
|---|---|
| analysis.completed | Fired when PR analysis finishes |
| issues.created | Fired when CodeFlow creates new issues |
| security.alert | Fired when security vulnerabilities are detected |
| quality.gate.failed | Fired when a quality gate check fails |
Check out our GitHub App Quickstart Guide or reach out on GitHub Discussions.