---
title: Cloud workspaces
description: On the Team plan, a cloud workspace keeps comments in one place, so everyone's studio and every teammate's agent see the same threads.
---

A linked studio's dev server, MCP server and `threads` / `thread` commands use the workspace instead of each file's `comments.jsonl`, so everyone sees the same threads within seconds.

The workspace also keeps a live copy of the team's files that everyone edits at once, in the browser, in their own Dex and with their own agent: see [Live files](/docs/live-workspaces). Configuration, scripts and dependencies stay in git.

import { APP_URL, SITE_URL } from "@prova/web/urls";

## Create a workspace

1. Sign up at <a href={`${APP_URL}/signup`}>/signup</a> or sign in at <a href={`${APP_URL}/login`}>/login</a>.
2. Create one at <a href={`${APP_URL}/app/new`}>/app/new</a>: a 14-day Team trial, no card.
3. On **Members**, enter an email and role to get a single-use invitation link, and send it yourself. Owners can withdraw unused links.

## Roles

| Role | Can |
| --- | --- |
| Owner | Everything, including members, billing and published-studio access. |
| Editor | Comment, create tokens, connect studios and agents, publish. |
| Viewer | Read and reply, open the published studio. Free. |

You pay for owners and editors; see <a href={`${SITE_URL}/pricing`}>Pricing</a>.

## Dashboard

`/app/<workspace>`:

- **Overview:** open the studio, live or [published](/docs/publishing), and the commands to connect one.
- **Prototypes:** the [live files](/docs/live-workspaces), edited together, with who is here.
- **Settings:** the workspace's settings. Open the studio from the cloud and they are in its sidebar too, as **Workspace settings**; a studio you run yourself does not show them.
  - **Members:** invitations and roles.
  - **Tokens:** shown once, with creator and last use, and the commands to [connect your own agent](/docs/live-workspaces#with-your-own-agent). Revoke your own; owners revoke any.
  - **Publishing:** the [published studio](/docs/publishing) link and access.
  - **History:** [checkpoints](/docs/live-workspaces#history) of the live files: save, compare, go back.
  - **Billing:** Stripe Checkout and portal.
  - **Account:** who you are signed in as, and signing out.

Comments and requests are in Dex itself, in the bell and on each canvas.

## Link your studio

1. **Create a token** in Settings, Tokens. Agents using it show as, for example, "Claude, agent, via Priya Shah".
2. `npx dex cloud login --token <token>` stores it in `~/.config/dex/credentials.json`. `STUDIO_CLOUD_TOKEN` overrides it, for CI and agents.
3. `npx dex cloud link --workspace <slug>` writes `studio.cloud.json`. Commit it; it has no secrets.
4. `npx dex cloud push`, once, copies existing threads with their ids. Linked studios stop reading the `comments.jsonl` files, so delete them afterwards.
5. `npx dex cloud status` shows the workspace, account and plan.

Teammates pull and sign in with their own token. Each agent's machine needs a token too.

## Billing

Editors (owners and editors) times the price per editor, through Stripe.

- **Trial ends unpaid:** threads can still be read, but new comments, replies and status changes wait, and the studio and CLI say why. Nothing is deleted; subscribing resumes it.
- **Payment fails:** it keeps working while Stripe retries.
- **Cancelled:** as when a trial ends unpaid.

## Unlink

`npx dex cloud unlink` removes `studio.cloud.json`. Comments are read from the `comments.jsonl` files again; workspace threads stay put.

To use your own service, pass `--url` to cloud commands. See [Self-hosting](/docs/self-hosting).
