# /web-setup Command

> It links your GitHub account to cloud sessions.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** /web-setup, Connect GitHub for cloud sessions

## Think of it like

It is like you lend a friend your key. Now they can let themselves in.

## Definition

/web-setup links your GitHub account to the cloud sessions you start. It uses the gh login you already have on your computer. After that, a cloud session can copy your code and push new branches back. Run it once, before your first cloud session on a repository.

## Example

Emma wants Claude to fix a bug in the cloud while her laptop is shut. She runs /web-setup once. Now cloud sessions can open her code.

## Example code

```console
/web-setup
```

Let cloud sessions reach your GitHub repositories.

## Why it matters

A cloud session cannot work on code it cannot reach. This is the step that gives it access.

## Common mistake

Thinking it installs the Claude GitHub App. It only shares your own gh login with cloud sessions.

## Three principles

- **Uses your gh login.** Already on your computer.
- **For cloud sessions.** Clone and push.
- **Once per account.** Then it works.

## Related terms

- [Cloud Session](https://learn.benibix.com/term/ai/cloud-session)
- [/remote-env Command](https://learn.benibix.com/term/ai/remote-env-command)
- [Claude GitHub App](https://learn.benibix.com/term/ai/claude-github-app)

## Taught in

- [Cloud and Server Commands](https://learn.benibix.com/learn/ai-claude-code-commands/cloud-and-server-commands): Claude Code Commands, 17/17

![A local session runs on your laptop. A cloud session runs on a server and keeps going when the laptop closes.](https://learn.benibix.com/diagrams/cc-cloud-session.svg)

---

Source: https://learn.benibix.com/term/ai/web-setup-command
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
