About GitHub Integration

Alpha: Building apps with AI is currently in alpha. This feature is subject to change and may have bugs, issues, and limitations. We're actively improving it based on your feedback.

GitHub integration connects an app project to a dedicated GitHub repository. This gives you GitHub's version control and collaboration capabilities, as well as the flexibility to work in whatever IDE you prefer.

Code in your preferred IDE

Develop an app using your preferred IDE. Wix sets up a repository that you can clone and develop in using standard development workflows.

Work with multiple collaborators at once

You can let others interact with an app's code by inviting them as collaborators on your GitHub repository. Multiple developers can work on an app's code at once.

Version control

GitHub integration enables version control for your project. Your app reflects the main branch of your repository. To sync your local changes, merge them to the main branch.

Wix saves changes to the app's code:

  • Periodically while working in the Code tab.
  • When the AI agent makes a change to the app.

Saved changes are tracked as commits in your GitHub repository, giving you a clear history of edits and the ability to revert to previous versions when needed.

When multiple sources edit the same files simultaneously, conflicts can occur. If you push changes to the repository while the AI agent makes changes to the same files, the AI agent shows a rejection message. If your local clone of the repository has files that aren't up to date and you push changes to those files, you'll get a rejection message in your IDE.

File structure

AI app projects are built using Astro, a web development framework optimized for performance. The UI components are written in React.

The src folder contains extensions that add functionality to your app. Each extension type has its own subfolder, such as dashboard or site.

Caution: Only edit files that are in the src folder. Editing other files may cause unexpected behavior or damage to your project.

Get started

To get started with GitHub integration, set up GitHub integration to connect your project to a repository.

Note: GitHub integration only supports creating new repositories. You can't reconnect to an existing repository.

See also

Did this help?