Connect a Git account
For Gitea/Forgejo, the required server URL must contain at least 8 characters before the form enables Save; server validation still checks that it is an acceptable URL. The access token also requires at least 8 characters. A length check alone does not establish a working connection.
Open Services → Git. Cloud lists connected accounts and provides the connection flow for supported services. GitHub can use its authorization flow; GitLab, Gitea, Forgejo and Bitbucket can be configured with the provider selection and access token form. For self-hosted Gitea or Forgejo, provide the instance URL shown as required by the form.
Add or remove a connection
- Choose the Git provider.
- For a token-based connection, enter the instance URL when required and the access token, then submit the form. For GitHub, continue through the authorization redirect and return to Cloud.
- Confirm the account appears in the connections list. A success notice or return parameter confirms the callback was received, but the app wizard must still be able to list the intended repository.
- Disconnect only the connection you intend to remove; deployments that rely on it may no longer be able to fetch source.
If the connection list fails to load, retry after checking the page’s inline error. If a provider authorization returns an error, reconnect and verify that the requested repository is accessible to that account. Do not paste a token into support messages. App creation and branch selection are covered in Deploy and manage an application.
GitHub offers both OAuth and a personal-token connection. Choose provider, enter a token of at least eight characters, and enter an instance URL where required (Gitea and Forgejo); otherwise leaving it blank uses the provider default. Submit and check the connection. Disconnect can be blocked while a connection is referenced: remove the dependency and retry; the failed request leaves the connection in place.