Skip to content

Git Providers

Git Providers — sometimes known as software forges or Source Code Managers (SCMs) — provide a set of tools to host and collaborate on codebases using Git.

Codeanywhere allows you to integrate your preferred Git Provider, enhancing your development workflow. This integration enables you to access and manage your repositories directly within Codeanywhere, simplifying Workspace creation from existing projects.

By adding a Git Provider, your credentials are securely embedded into your Workspaces. This allows for seamless Git operations without repeated authentication.

Add a Git Provider

You can integrate Codeanywhere with a Git Provider to manage version control operations and interact with your Git repositories.

Codeanywhere supports a variety of Git Providers, including GitHub, GitLab and Bitbucket.

This integration supports and enables interacting with your codebase, cloning repositories, and pushing changes directly from Codeanywhere.

  1. In the dashboard, navigate to your profile account icon and select Settings.
  2. Under the Git Providers section, choose a Git Provider you want to integrate by selecting Connect.
  3. You will be prompted to authorize the OAuth application you created for Codeanywhere. Click Authorize Codeanywhere to proceed.

Remove a Git provider

Codeanywhere allows you to delete Git Providers, helping you manage and delete those that are no longer needed.

  1. In the dashboard, navigate to your profile account icon and select Settings.
  2. Under the Git Providers section, choose a Git Provider you want to remove by selecting the icon representing the remove action .

Once a Git Provider is deleted, you will not be able to manage or deploy Workspaces without adding another Git Provider.

GitHub

First-time sign-in

When signing in via GitHub for the first time, you will be redirected to GitHub’s application authorization page. There, you will be prompted to authorize Codeanywhere.

Click Authorize Codeanywhere. On the authorization page, you can choose to grant access to organizations you own or request access to organizations owned by others by clicking the respective Grant and Request buttons. If you prefer not to grant additional authorizations at this time, you can add them later.

After authorization, you will be redirected to the Codeanywhere dashboard registration page to complete your profile setup, requiring a username, email, first name, and last name. Once submitted, you will be able to sign in to the Codeanywhere dashboard using GitHub as an identity provider and create Workspaces using GitHub repositories.

Organisation access

This section explains how to add and configure GitHub organization access for your Codeanywhere account.

First-time sign-in

During your first sign-in, you will have the option to grant or request access to the GitHub organizations you belong to, enabling Codeanywhere to access repositories within those organizations. If you do not select any organizations and directly click Authorize Codeanywhere, you will initially only have access to your own repositories (both public and private) and other public repositories owned by organizations or individuals. Additional access can be granted later as needed.

Request organization access

  1. On the upper-right corner of any page, click on your profile and scroll down on the dropdown menu, select Settings.
  2. In the Integration section of the sidebar, click Application.
  3. On the top of the page, click the Authorized OAuth Apps tab.
  4. In the list of applications, click on the Codeanywhere app.
  5. Next to the Codeanywhere app, to access, click Request access.
  6. After you review the information about requesting OAuth app access, click Request approval from owners. If you are an admin in this organization, you can approve it by yourself, otherwise, you’ll need to contact your admin to approve the authorization request.

GitLab

First-time sign-in

During your first sign-in, you will be redirected to the User Settings page on GitLab. You will be prompted to authorize Codeanywhere to use your account, with details about who created the application and the authorized scope. Review the access scopes, and if they are correct, click Authorize at the bottom of the page.

After confirming the access scope, you will be redirected to the Codeanywhere dashboard registration page to complete your profile setup. You will need to provide a username, email, first name, and last name. Once submitted, you can sign in to the Codeanywhere dashboard using GitLab as an identity provider and create Workspaces using GitLab repositories.

Organisation access

In GitLab, organizations are referred to as Groups where users manage members with shared repositories. When using Codeanywhere, no extra steps are necessary to access Groups in GitLab. Once signed in to your Codeanywhere dashboard via your GitLab account, you will have access to all associated Groups.

Bitbucket

First-time sign-in

During your first sign-in,, you will be redirected to Bitbucket’s OAuth authorization page to confirm your access rights. The page will be titled Confirm access to your account and will display the Codeanywhere OAuth application. To proceed with using Bitbucket as your identity provider, click on Grant access.

After clicking Grant access, you will be redirected to the Workspaces page of your Codeanywhere dashboard, indicating that the configuration has been successfully completed.

Organisation access

In Bitbucket, organizations are referred to as Workspaces, and members are managed through Access Management within the Workspace settings. When you sign in to your Bitbucket account and work on a repository, you are operating within a Workspace by default. After adding Bitbucket as an identity provider and completing the configuration as described above, your Codeanywhere account will have access to all your Bitbucket Workspaces.