Quick Start
TL;DR: Connect your GitHub in 3 steps:- Go to Settings → Integrations → GitHub and click Connect GitHub
- Authorize the Aurora GitHub App and install it on your account or organization
- Toggle “Use for new projects” to create repositories under your GitHub instead of Aurora’s
What is GitHub
Git is a version control system that tracks changes in your code. GitHub is the industry-standard platform for hosting Git repositories, making it essential for both solo builders and teams using Aurora. By linking your project to GitHub, every change in your Aurora app is backed up in a Git repository in real time. This means you get a complete history of your code, the ability to collaborate with developers in familiar workflows, and the freedom to host or deploy your app outside of Aurora if needed. GitHub integration brings transparency, safety, and flexibility to your Aurora development process.Key Benefits of GitHub Integration
Aurora backs every project with a Git repository, making it easy for developers to push commits directly to GitHub. This means: Version History & BackupAll your code is tracked with Git, so you can review changes or roll back to any previous state. Every commit is saved to GitHub, providing an external backup of your project. Team Collaboration
Your code lives on GitHub where others (developers, contributors) can easily view it, comment, and contribute via pull requests. Non-technical team members can also see the code history for transparency. Real-Time Sync
Aurora automatically syncs with your GitHub repo. If you push code to GitHub, Aurora pulls it in almost immediately. If you edit code in Aurora, it pushes those changes to GitHub. You’ll always have the latest code in both places without manual copying. Workflow Integration
Use GitHub’s tools (branches, pull requests, issues, CI/CD, etc.) alongside Aurora. For example, you can run tests or deploy your app via GitHub Actions when code is merged, all while continuing to use Aurora’s editor and AI to develop features. Deployment Flexibility
Connecting to GitHub gives you the option to host your app on your own infrastructure or platform of choice. You’re not locked into Aurora’s hosting – you can export the code and deploy it anywhere.
Connecting Aurora to Your GitHub Account
To start using GitHub with Aurora, you need to connect your GitHub account. Here’s how to set it up:Open GitHub Settings
Navigate to Settings → Integrations → GitHub from anywhere in Aurora. You can access Settings from the sidebar or project menu.
Connect Your GitHub Account
Click the Connect GitHub button. This will open a popup window to begin the OAuth authorization process.
Authorize Aurora
Sign in to GitHub if prompted. You’ll be asked to authorize Aurora to access your account. Click Authorize to continue.
Install the Aurora GitHub App
After authorization, you’ll be prompted to install the Aurora GitHub App. Choose whether to install it on your personal account or an organization where you have admin access. You can grant access to All repositories or Only select repositories – either works, but “All repositories” is simpler if you plan to create multiple projects.
Enable for New Projects
Back in Aurora’s GitHub settings, toggle “Use for new projects” to ON. This tells Aurora to create new project repositories under your connected GitHub account instead of Aurora’s default account.
You can only connect one GitHub account per Aurora account at a time. If you want to switch accounts, you’ll need to reconnect with the new account from the GitHub settings page.
How Repository Creation Works
When you create a new Aurora project with GitHub integration enabled:- Aurora creates a new repository in your connected GitHub account
- The repository is initialized with your project’s starter code
- All subsequent changes made through Aurora are automatically committed and pushed
- Commits appear as verified and authored by the Aurora GitHub App
Aurora-Owned vs Personal GitHub
Aurora offers two modes for repository ownership: Aurora-Owned (Default)If you haven’t connected GitHub or have the toggle disabled, Aurora creates and manages repositories under Aurora’s GitHub organization. You still get full Git history and can view the code, but the repo lives in Aurora’s account. Personal GitHub
When you connect your GitHub and enable “Use for new projects,” repositories are created directly in your GitHub account or organization. You have full ownership and control, including the ability to add collaborators, configure branch protection, and use GitHub Actions.
How Syncing Works (Aurora ↔ GitHub)
Once your project is connected to GitHub, Aurora ensures that code changes stay in sync between the Aurora editor and your GitHub repository. The integration is bidirectional:Default Branch Sync Only
Aurora currently tracks only the default branch of your GitHub repository (typicallymain). If you push commits to other branches on GitHub, those changes will not appear in your Aurora project until they are merged into the default branch.
Real-Time Updates from GitHub
When you commit and push code to the default branch on GitHub, Aurora detects the changes via webhooks and pulls the latest commit into the project. You don’t need to manually refresh or import anything; the editor will reflect the new code typically within a few seconds of the push.Pushing Changes from Aurora
When you make changes in Aurora (editing code directly or having the AI generate new code), those changes are committed and pushed to GitHub automatically. Each change appears in your repository’s commit history with a clear message describing what was modified.Conflict Handling
Because both Aurora and GitHub can change the code, there’s a chance of a git conflict if changes happen on the same file at the same time. If a conflict occurs, you would resolve it like any Git conflict – go to the GitHub repo, manually merge or fix conflicting changes, then commit. Aurora will pull the resolved code.Developing with GitHub and Aurora in Parallel
Once connected, you can build and edit your application using GitHub (or your local development environment) and Aurora simultaneously:Using Your Local IDE
Clone the GitHub repository to your local machine and open it in your favorite IDE (VS Code, WebStorm, etc.). Make changes, commit, and push to GitHub. Aurora will automatically sync those changes.Normal GitHub Workflows
You can leverage all of GitHub’s collaboration features: create branches for new features, open pull requests to review code before merging, file issues, and use project boards. Aurora watches the default branch for changes and syncs when you merge.Combining AI and Manual Coding
Use Aurora’s AI assistant to scaffold features quickly, then refine the code in your IDE. Both sets of changes merge seamlessly since they’re going to the same repository.Importing an Existing GitHub Repository
Currently, Aurora does not support directly importing or linking to an existing external GitHub repository as a new project. However, there are workarounds:Manual Import via New Repo
- Create a new Aurora project with GitHub integration enabled
- Clone the newly created repository to your local machine
- Copy your existing project files into the cloned repo
- Commit and push the changes
- Aurora will sync the files and display them in the editor
Planned Import Feature
Direct repository import is a commonly requested feature and is under consideration for future updates. Check Aurora’s roadmap for announcements.Documenting Changes and Rolling Back
Use Meaningful Commit Messages
When committing via your local IDE or GitHub’s interface, write clear commit messages describing what you changed and why. Good commit messages help team members understand the history of the project.Aurora’s Version History
Aurora provides a version history in the editor that keeps track of changes made through the platform. You can access previous states of your project and restore an earlier version with one click.Rolling Back with Git
Since your project is under Git, you can perform rollbacks by reverting commits on GitHub. Use the “Revert” button on GitHub orgit revert locally. Aurora will sync the revert commit automatically.
Use Branches for Big Changes
Develop major features on separate branches and only merge to main after testing. This keeps your main branch (and the live app in Aurora) stable.Troubleshooting & FAQ
Why aren't my commits showing up in Aurora?
Why aren't my commits showing up in Aurora?
Make sure you’re pushing to the default branch (usually
main). Aurora only syncs with the default branch. Also verify the GitHub integration is still connected in Settings → Integrations → GitHub.How do I switch which branch Aurora syncs with?
How do I switch which branch Aurora syncs with?
Change the default branch in your GitHub repository settings: Settings → Branches → Default branch. Aurora will then sync with the new default branch.
Can I host my Aurora app myself after connecting to GitHub?
Can I host my Aurora app myself after connecting to GitHub?
Yes! Once your code is on GitHub, you can clone it and deploy to any hosting platform (Vercel, Netlify, AWS, etc.). Aurora will continue syncing changes with GitHub.
How do I switch to a different GitHub account?
How do I switch to a different GitHub account?
Go to Settings → Integrations → GitHub and click Reconnect. You’ll go through the OAuth flow again and can authorize a different account.
I changed my GitHub repo name. How do I fix my project?
I changed my GitHub repo name. How do I fix my project?
Changing the repo name on GitHub may break the connection. You may need to contact Aurora support for assistance with updating the link.
Can I disconnect GitHub integration?
Can I disconnect GitHub integration?
The integration is account-level, not project-level. You can toggle off “Use for new projects” to stop creating repos in your GitHub, but existing project connections remain. To fully remove Aurora’s access, go to GitHub → Settings → Applications → Authorized GitHub Apps and revoke Aurora’s access.
What happens to existing projects when I connect GitHub?
What happens to existing projects when I connect GitHub?
Existing projects remain in their current repositories (either Aurora-owned or previously connected). Only new projects created after enabling the toggle will use your personal GitHub.
Can multiple team members connect their GitHub accounts?
Can multiple team members connect their GitHub accounts?
Each Aurora account can connect one GitHub account. For team collaboration, one team member should connect their GitHub (or an organization account) and add other team members as collaborators on the GitHub repository.
By following this guide and utilizing GitHub with Aurora, you’ll combine the speed of AI-assisted development with the reliability and control of traditional software practices. This integration is designed to be approachable for non-technical users while providing all the power that developers expect in a modern toolchain.