---
title: "Where the code of an app lives"
description: "GitHub App, GitHub with a personal access token, GitLab, or a repository kept on the cyantula server, and how to move between them."
url: "https://cyantula.app/docs/repositories/"
updated: "2026-12-03"
---

Guides

GitHub App, GitHub with a personal access token, GitLab, or a repository kept on the cyantula server, and how to move between them.

### The options side by side

Every app has its code in a git repository. cyantula can work with four kinds of place for it. You do not have to pick one for the whole installation: an app keeps the place it was published from, and different apps can live in different places.

| Where | Set up by | What to know |
| --- | --- | --- |
| GitHub App | An administrator, once; each colleague connects their GitHub account | Everyone picks from their own repositories, new repositories are created in your organisation, changes open as pull requests. |
| GitHub with a personal access token, for the platform | An administrator, under Advanced on the Code settings page | No App to create. Everything cyantula does on GitHub is done as the token&#x27;s owner. |
| GitHub with a personal access token, per colleague | Each colleague, under Profile, GitHub | A colleague&#x27;s own actions on GitHub are done as them, with no GitHub App needed. |
| GitLab | An administrator, once; each colleague connects their GitLab account | One GitLab for the installation, gitlab.com or your own. Colleagues publish projects they are a Developer on. |
| On the cyantula server | Nobody: it is what you get when nothing else is connected | No account anywhere. Clone and push with git, and move it to GitHub later. A few features need GitHub. |

A brand-new app gets its repository on GitHub when GitHub is connected. When nothing is connected, cyantula keeps the repository on its own server. Apps that already exist never move on their own.

### GitHub

The GitHub App is the fullest setup, and the one this documentation recommends for a company: [Connect GitHub with a GitHub App](https://cyantula.app/docs/settings/github/). If you cannot or would rather not create an App, a personal access token does most of the same work, as described in [Use a personal access token instead](https://cyantula.app/docs/settings/github/#token). Without the App a push is not announced by GitHub instantly, so a new version can take a few minutes to show up.

### GitLab

An administrator registers cyantula once on your GitLab, and every colleague then connects their own account under **Profile, GitLab**. With both GitHub and GitLab set up, an administrator picks the default for new repositories in **Admin, Settings, Code and repositories**. See [Connect GitLab](https://cyantula.app/docs/settings/gitlab/).

### On the cyantula server

When nobody has connected GitHub or GitLab, cyantula keeps the repository itself, on the server it runs on. You do not need an account anywhere to publish an app this way, which makes it the quickest way to try cyantula.

In the portal, **Publish an app** asks the same questions as always. A new app gets its repository on the server, and you can fill it by uploading a zip or a single HTML page on the app&#x27;s page, by letting cyantula&#x27;s coding agent write it, or by pushing from your own computer as described below. The publish flow itself is on [Publish an app](https://cyantula.app/docs/publish/).

### Clone and push with git

In the portal: The app&#x27;s page, Clone; Profile, Git access

Plain git over HTTPS, at your portal address. cyantula never accepts your portal password for git. Each of your computers uses a credential of its own instead.

1. Open the app and click . For an app kept on the server the window asks for a .
2. Click . The credential is shown only once: copy it before you close the window. Already made one for this computer? Choose .
3. Run the clone command the window gives you. When git asks, the user name is your email address in cyantula and the password is the credential.
4. To have git remember it, run this once before the clone:

 ```
   git config --global credential.helper store
   ```

What you may do follows your rights on the app, checked on every request: somebody with no right to the app cannot clone it, and only those who may manage the app can push. A push to the main branch becomes the new version, but it does not go live by itself: the owner clicks Deploy, as with any other app. Pushing is refused while a deploy of that app is running; push again a moment later.

A coding agent connected over MCP can ask for the same address and credential for itself, so you do not copy anything by hand. See [Connect your agent](https://cyantula.app/docs/agents/).

Under **Profile, Git access** you see every credential with its name, when it was made and when it was last used. **Revoke** one, after a confirmation, and that computer can no longer clone or push until you give it a new one. Credentials do not expire on their own.

For an app that lives on GitHub, the Clone button just gives the GitHub address, and you use your own GitHub access.

### Changes and pull requests

An app kept on the server has no pull requests of its own, so cyantula keeps them. When cyantula&#x27;s coding agent, or one of its fixes, wants to change the app, it works on a branch of its own and the result shows up on the app&#x27;s **Changes** tab, exactly like a pull request on GitHub.

Each change is explained in plain language, with its checks. **Approve &amp; go live** merges it and deploys it, **Approve, deploy later** merges it and leaves the live version alone until you press Deploy, and **Reject** discards it. A branch you push yourself does not become a change on its own.

### What needs GitHub

A few things only work when the app&#x27;s code is on GitHub. For an app kept on the server the portal says so in plain words (for example, *Feedback needs the app&#x27;s code on GitHub*) and points you to the move described next. Feedback on an app and feature requests are the ones you will meet.

### Move a repository to GitHub later

In the portal: Admin, Repositories

Nothing forces the move; an app can stay on the server for good. When you want it on GitHub, connect the GitHub App or add a GitHub token first (the page says so when neither is there). Then an administrator opens **Admin, Repositories**, which lists every app whose code is on the server. Click **Move to GitHub** on one app, tick several and click **Move selected**, or click **Move all**. After a confirmation, cyantula creates a private repository for each app and copies the code there.

From then on the app follows GitHub. The copy on the server is kept for 30 days and then removed. An app with changes still waiting is not moved until you approve or reject them first. If a move fails, the page says why next to the app.

Colleagues who cloned the app from the server need to point their clone at the new GitHub address.
