The Workspace
Learn where workspace features live, including project tools like GitHub.
GitHub integration connects a Primio project to a GitHub repository so you can keep a version-controlled copy of the app’s generated source code outside Primio.
This is separate from signing in with GitHub. Using GitHub as a login method only authenticates your Primio account; it does not connect any project to a repository. Repository sync is configured per project from the workspace.
When you connect a project, Primio asks GitHub for permission to use the Primio GitHub App. After authorization, Primio can create or link a private repository for that project and push the current project source code.
After the first connection, you can push again whenever your Primio project changes. Each push sends the current generated source snapshot to the connected repository, creating a new commit when there are changes.
Open the project you want to connect.
In the workspace, open GitHub from the workspace menu. You may also see a GitHub button in the top bar.
Click Connect GitHub.
A GitHub popup opens. Sign in if needed, authorize GitHub access, and install or select the Primio GitHub App for the account or organization that should own the repository.
Return to Primio after the popup closes. Primio refreshes the GitHub status and shows the connected account, repository, and branch when setup succeeds.
During setup, Primio either creates a new private repository for your project or connects to an existing repository that matches the generated project repository name. If a new repository is created, Primio also pushes the current code as part of the setup.
Once connected, the GitHub button changes from GitHub to Push in the top bar. You can also open the GitHub workspace page and click Push code to GitHub.
Primio compares the current project source with the repository before pushing:
main branch.You can also ask the Primio agent to push or sync the project to GitHub. When the project is connected, the agent can trigger the same push flow for the current project revision.
Open the GitHub workspace page and click Disconnect to remove the connection between Primio and the repository.
Disconnecting stops Primio from pushing future changes to that repository. It does not delete the GitHub repository, remove previous commits, or uninstall the Primio GitHub App from GitHub.
main branch.main branch - Primio always pushes to the main branch. You cannot choose or change the target branch from Primio.The GitHub popup did not open. Allow popups for Primio in your browser, then click Connect GitHub again.
The connection did not finish after authorization. Refresh the GitHub status in Primio. If it still shows as not connected, start the connection again and make sure the Primio GitHub App is installed for the correct personal account or organization.
Push says GitHub is already up to date. Nothing needs to be done. Primio checked the current source code and found no changes to commit.
Primio says a subscription is required. Connecting or pushing to GitHub requires the Build or Scale plan. Upgrade to an active paid subscription, then retry the same GitHub action. You can still disconnect an existing repository on the Free plan.
Push fails after a previously working connection. Open the GitHub page in the workspace and refresh the status. Check whether the repository still exists, the Primio GitHub App is still installed, and the app installation has not been suspended in GitHub.
The Workspace
Learn where workspace features live, including project tools like GitHub.
Code Export
Export source code manually when you need a downloadable copy instead of repository sync.
Plans & Pricing
Compare Free, Build, and Scale plans for GitHub sync and other paid features.