- Sync: For personal workspaces. Edit code locally and keep changes in sync with Base44 in both directions.
- Export: For shared workspaces. Push your code to GitHub for backups, version history, or external deployment. One-way only.
Sync your app with GitHub
Connect your app to GitHub to write code in your local development environment or in Base44 and keep them in sync with each other. GitHub 2-way sync is only available for personal workspaces.
- Click Dashboard in your app editor.
- Click the GitHub icon at the top-right and click Connect to GitHub.
- Click Connect GitHub.
- Click Authorize Base44 Builder.
- Choose where to install the Base44 Builder:
- Select the GitHub organization or account.
- Choose which repositories to allow access.
- Click Install.
- Create a repository for your app:
- Choose the GitHub organization or account.
- Enter a name for the new repository.
- Click Create Repository.

Set up your local development environment
After connecting to GitHub, set up your local repository to start editing code in your preferred development environment. To set up your local repository:- Clone the repository using the project’s Git URL.
- Navigate to the project directory.
- Install dependencies:
npm install. - Create an
.env.localfile and set the environment variables:Example:
Sync local changes to Base44
To sync your local changes to Base44, merge the changes to the main git branch. The changes will then be visible on your Base44 app.After syncing, click Publish in the top right corner of your Base44 app to
make the changes live for users.
Export your app to GitHub
Export your Base44 app to GitHub to manage code versions, collaborate with others, and deploy your app externally. This creates a repository in GitHub with your app’s code and you can push updates from Base44 Builder.Note: Exporting to GitHub requires the Starter plan or higher.

- Open your app’s Dashboard.
- Click the GitHub icon in the top panel.
- Click Export to GitHub.
- Click Invite Yourself as Collaborator.
- Enter your GitHub username and click Invite.
- Open the invite email from GitHub and accept it to access your app’s repository.
Update your app repository
Once your app is exported, GitHub doesn’t sync automatically. When you make updates in Base44, push your latest changes to GitHub using Update Repository. You can also invite collaborators to work in GitHub. To update your GitHub repository:- Open your app’s Dashboard.
- Click the GitHub icon in the top panel.
- Click Update Repository.

Invite collaborators
Invite teammates to work on your app’s GitHub repository. To invite collaborators:- Open your app’s Dashboard.
- Click the GitHub icon in the top panel.
- Click the Invite Collaborator tab.
- Enter their GitHub username.
- Click Invite.


