Integration

Open Source your Xano Projects with Git Sync

If you've ever wanted a reliable, automatic backup of everything you build in Xano — or you'd love to share your work with the broader community — Git Sync is the feature for you. In just a few minutes, you can connect your Xano workspace to a GitHub or GitLab repository and have your project logic synced every time you publish a change.

What Is Git and Why Does It Matter for Xano?

Git is a version control tool that lets you track changes to a codebase over time. Think of it like a two-way time machine: you can push new changes, roll them back, pull older versions, or even fork and modify someone else's repository. Services like GitHub and GitLab host these repositories and make collaboration easy.

Xano's Git Sync feature sends your workspace to a Git repository automatically every time you publish. It's one-directional — from Xano to Git — but that makes it a powerful, hands-free backup system that captures every iteration of your app.

Setting Up Git Sync in Xano

To get started, head to your Xano dashboard and click the settings icon, then choose Git Sync. This is where you'll enter your repository URL.

Over in GitHub, create a new repository and copy the SSH link (not HTTPS). Paste that URL into the Git Sync panel in Xano, then click Generate to create an SSH key.

Next, go to your GitHub repository's Settings, navigate to Deploy Keys, and add a new key. Give it a name like "Xano," paste in the SSH key you generated, and make sure to check Allow write access. Save the key in GitHub, then return to Xano and click Save.

Within moments, your entire workspace will appear in your GitHub repository — all of your APIs organized by API group, your custom functions, and your database table schemas, all written in XanoScript.

What Gets Synced (And What Doesn't)

It's worth noting that your table data does not sync — only the schema, meaning the structure of your tables. This keeps things lightweight and focused on your logic rather than potentially sensitive data.

Every API, AI Agent, and function you've built will be represented in XanoScript files in the repository. You can browse the code view in GitHub to explore exactly how your workspace is structured.

Automatic Syncing on Every Publish

Once Git Sync is configured, you don't have to do anything extra. Every time you publish a change in Xano, it syncs to your repository almost instantly. You can verify this by checking the activity feed in GitHub, where you'll see commits arriving within seconds of publishing.

Open Sourcing Your Xano Projects

One of the most exciting uses of Git Sync is sharing your work with others. By making your GitHub repository public, you're essentially open sourcing your Xano project. This is a great way to contribute to the Xano community and benefit from what others are building and sharing in return. If you're able to share what you're building, it's well worth doing.

Sign up for Xano

Join 100,000+ people already building with Xano.
Start today and scale to millions.