Skip to main content

Overview

The GitHub integration allows you to sync code changes, and push changes from ChatAndBuild. Connect your development workflow with the power of AI-assisted coding.

Features

Real-Time Sync

Automatically sync changes between ChatAndBuild and your GitHub repositories.

Deployment Integration

Push directly from the ChatAndBuild interface.

Setting Up GitHub Integration

Initial Connection

1

Navigate to Integrations

Go to Settings > Connect Apps > and click “Connect GitHub Account”.
2

Authorize ChatAndBuild

You’ll be redirected to GitHub to authorize the ChatAndBuild application.
3

Grant Permissions

Allow ChatAndBuild to access your repositories with the following permissions:
  • Read repository contents
  • Create and manage branches
  • Create pull requests
  • Access repository metadata
4

Verify Connection

Return to ChatAndBuild to confirm the integration is working.

Commit Management

1

Stage Changes

Save all changes and push them to your new or existing repository.
2

Write Commit Message

Create descriptive commit messages following your team’s conventions:
feat: add user authentication system

- Implement OAuth2 with GitHub
- Add user profile management
- Create protected route middleware

3

Push to GitHub

Push commits directly to your GitHub repository with one click.

Troubleshooting

Common Issues

Problem: Cannot connect to GitHubSolutions:
  • Re-authorize ChatAndBuild app
  • Check GitHub app permissions
  • Verify personal access token
  • Contact GitHub support if needed
Problem: Changes not appearing in GitHubSolutions:
  • Check repository permissions
  • Verify branch protection rules
  • Force manual sync
  • Review conflict resolution status

FAQ

Effective repo management:
  • Use clear branch naming conventions
  • Keep repository structure consistent
  • Regular cleanup of merged branches
  • Maintain comprehensive README files
Secure development:
  • Never commit secrets or API keys
  • Use environment variables properly
  • Regular security audit of permissions
  • Enable two-factor authentication
Need help with other integrations? Check out our Figma Integration and Supabase Integration guides.