CubeDocs

Sign in and GitHub

Signing in to Cube with Google, GitHub or Apple, connecting GitHub for your repositories, and taking access back.

Cube asks for two separate things: an account to sign in with, and, when you want your repositories, access to GitHub.

Sign in

Cube opens on First, let’s sign you in. Choose Continue with Google, Continue with GitHub or Continue with Apple, and finish in your browser. Your credit, your computers and your settings belong to that account.

First, let’s sign you in

Choose an account to sign in to Cube.

Connect GitHub

To clone, push and open pull requests, connect GitHub, whichever way you signed in. It's in Settings → Account, under Repository access: choose Connect GitHub, then Copy code and open GitHub, and enter the code on GitHub to authorize Cube. If the browser doesn't open, go to github.com/login/device and enter the code Cube shows.

Once GitHub is connected, Cube sets up GitHub access on your computer, so your agents can clone and push without asking you to sign in. Repository access then says Connected as and your GitHub login.

What Cube can access

Cube asks GitHub for these permissions:

PermissionWhy Cube needs it
repoClone, push and open pull requests on your repositories, private ones included.
read:orgSee repositories that belong to your organizations.
gistCreate and edit gists.
workflowPush changes to GitHub Actions workflow files.

If GitHub doesn't grant them, Cube says "GitHub did not grant repository access. Connect again and approve the requested permissions."

Organization repositories

If your organization restricts third-party apps, its repositories stay hidden until an organization owner approves Cube. Ask them to approve it in the organization's GitHub settings, then choose Reconnect GitHub.

Reconnect or disconnect

In Repository access, Reconnect GitHub authorizes again, for example after you join an organization. Disconnect GitHub revokes repository access and removes saved GitHub credentials; your repositories and your Cube sign-in stay.

Deleting your account

Settings → Account → Delete account… permanently deletes your account and its Cube cloud computers, with their files, and revokes Cube's GitHub access. On your Mac, it closes local terminals and agents and removes local repositories from Cube; the files themselves stay. You confirm by typing your email or GitHub login.

If sign-in fails

Cube saysWhat to do
Could not open sign-in. Try again.Check that a default browser is set, then try again.
Sign-in was declined. Try again when you’re ready.Start again and approve Cube in your browser.
This sign-in link is no longer valid. Start again.The link expired. Start sign-in again from Cube.
Could not finish sign-in. Please try again.Try again. If it keeps happening, quit and reopen Cube.
Your sign-in could not be saved. Please try again.Try again. If it keeps happening, quit and reopen Cube.
Sign-in will last until you quit CubeCube couldn't save your sign-in securely on this computer, so you'll sign in again next launch.

On this page