NeuralCodeDOCS
Integrations

GitHub

Sign in with GitHub to let agents push branches and open pull requests, and to browse a repo's issues. NeuralCode uses the official GitHub CLI under the hood.

How it works#

GitHub integration is built on the ghCLI. NeuralCode detects whether it's installed and authenticated, and lights up GitHub features accordingly. The sidebar account area and Settings → Account both surface this status.

Signing in#

Connecting GitHub uses the secure device-code flow — no passwords, no local server. NeuralCode shows you a short code; you paste it on github.com to authorize, and the app detects approval automatically and configures the CLI for you.

Connect GitHub

1. Copy this code, then open GitHub and paste it to authorize.
3F7A-92K1
Open github.com/login/device
Waiting for you to authorize…
The GitHub connect dialog — copy the code, authorize on github.com, and NeuralCode finishes automatically.
  1. 1
    Start the flow
    Click Connect GitHub in the sidebar or Settings → Account.
  2. 2
    Authorize
    Copy the displayed user code, click Open github.com/login/device, and paste it to approve.
  3. 3
    Done
    NeuralCode polls for approval, fetches your profile, and signs the CLI in. Your token is stored locally and never shown back to the UI.

Installing the GitHub CLI#

If gh isn't installed, Settings → Git offers an Install button (via Homebrew). You can also install it yourself from cli.github.com.

StateWhat's available
Not installedGitHub features are off; install gh to enable them.
Installed, not signed inConnect GitHub to authenticate the CLI.
Installed & authenticatedPull requests and issues are fully enabled.

Pull requests#

With GitHub ready, the Commit split-button's Commit, Push & PR action pushes the branch and opens a pull request with an auto-filled title and body; the PR URL appears in a toast.

Your account, your machine
The GitHub token lives only in your local store.json and is used solely to drive the gh CLI. Sign out any time from Settings → Account.