Configure cloud environments
Configure cloud environments for Claude Code cloud sessions: network access levels, environment variables, setup scripts, and environment caching.
Cloud environments require Claude Code on the web, which is in research preview for Pro, Max, and Team users, and for Enterprise users with premium seats or Chat + Claude Code seats.
Each cloud session runs in a cloud environment. You can configure an environment to allow or deny network access, set environment variables for the session, on Pro and Max plans store API credentials that sessions use without seeing them, and run a setup script before Claude starts working.
The same environments apply wherever you start a cloud session: Claude Code on the web, the terminal with claude --cloud, Claude Tag, routines, the Claude mobile app, and the Desktop app. Each of these surfaces can also route to a self-hosted environment. Availability and limitations covers what Claude can't use yet when a Claude Tag session runs in one.
Remote Control sessions connect the web and mobile interfaces to a session on your own machine, which uses your machine's network and files, not a cloud environment. Claude Tag channel sessions use organization-level environments only, either shared environments or self-hosted environments.