Docs
Sign in

Connect GitHub

Connect GitHub links your GitHub account to TAO Code, so you can open your repositories, let the AI coding agent edit them, and push your changes. You do this once, and TAO keeps you connected until you disconnect.

Screenshot to add: The Connect Your GitHub Account screen with the three feature cards and the Connect GitHub button.

Open the page

Go to Code in the Studio menu (/code). If you are not connected yet, TAO shows this screen automatically. You can also open it directly at /code/github. If TAO cannot check the connection, it treats you as not connected and shows the same screen.

Connect your account

  1. Read the screen

    The heading is Connect Your GitHub Account: "Link your GitHub account to start using AI-assisted coding in your repositories." Three cards explain what you get:

    • AI-powered code editing: "The coding agent can read, write, and refactor files directly in your repositories."
    • Commit & pull requests: "Commit changes and open pull requests without leaving the APEX portal."
    • Branch management: "Work on any branch and get full VCS status tracking as you go."
  2. Click Connect GitHub

    You are sent to GitHub. The note under the button says "You will be redirected to GitHub to authorize APEX."

  3. Approve on GitHub

    Sign in to GitHub if asked, and approve the request.

  4. Wait for the return

    You come back to TAO and see "Completing GitHub authorization…". This usually takes a moment.

  5. Start working

    The page changes to GitHub Connected. Click Browse Repositories to continue to Repositories.

When you are connected

The page shows GitHub Connected and "Signed in as @(username) ((email))". Two buttons:

ButtonWhat it does
Browse RepositoriesOpens your repository list
Disconnect GitHubRemoves the link

On the Repositories page you can also use the @username menu at the top, which offers Switch account and Disconnect.

Disconnect

Click Disconnect GitHub. TAO deletes the saved connection and asks GitHub to cancel the access, on a best-effort basis. If it fails you see "Failed to disconnect GitHub. Please try again." Your existing sessions stay in TAO, but you cannot open repositories until you connect again.

If something goes wrong

MessageWhat it means
"Failed to get GitHub authorization URL. Please try again."TAO could not start the sign-in. Try again, then contact your admin.
"GitHub authorization failed. Please try again."GitHub or TAO gave no further detail.
Another message from GitHub or TAOThe real reason is shown. Read it and try again.

When an error appears you also get a Show OAuth diagnostics link. It opens a technical panel with Refresh diagnostics and Copy buttons. Copy it and send it to your administrator if the problem keeps happening.

How it works

  • TAO uses a normal GitHub sign-in (an OAuth application). It does not use SSH keys or a GitHub App.
  • The access token is stored encrypted, one per person, so each user connects their own account.
  • The coding agent's git actions use your token through a protected gateway. The token is not handed to the session itself.

Who can use it

Any signed-in user can connect. Using TAO Code afterwards needs the apex.code permission and the matching menu entries.

Known gaps