claude-code-on-the-web.md +16 −0
35 35
36## Getting started36## Getting started
37 37
38Set up Claude Code on the web from the browser or from your terminal.
39
40### From the browser
41
381. Visit [claude.ai/code](https://claude.ai/code)421. Visit [claude.ai/code](https://claude.ai/code)
392. Connect your GitHub account432. Connect your GitHub account
403. Install the Claude GitHub App in your repositories443. Install the Claude GitHub App in your repositories
425. Submit your coding task465. Submit your coding task
436. Review changes in diff view, iterate with comments, then create a pull request476. Review changes in diff view, iterate with comments, then create a pull request
44 48
49### From the terminal
50
51Run `/web-setup` inside Claude Code to connect GitHub using your local `gh` CLI credentials. The command syncs your `gh auth token` to Claude Code on the web, creates a default cloud environment, and opens claude.ai/code in your browser when it finishes.
52
53This path requires the `gh` CLI to be installed and authenticated with `gh auth login`. If `gh` is not available, `/web-setup` opens claude.ai/code so you can connect GitHub from the browser instead.
54
55Your `gh` credentials give Claude access to clone and push, so you can skip the GitHub App for basic sessions. Install the App later if you want [Auto-fix](#auto-fix-pull-requests), which uses the App to receive PR webhooks.
56
57<Note>
58 Team and Enterprise admins can disable terminal setup with the Quick web setup toggle at [claude.ai/admin-settings/claude-code](https://claude.ai/admin-settings/claude-code).
59</Note>
60
45## How it works61## How it works
46 62
47When you start a task on Claude Code on the web:63When you start a task on Claude Code on the web: