# Quickstart: Sypnia Cloud

> Deploy an app to Sypnia Cloud, open it at its address, ship a change and roll it back.

Applies to: Sypnia Cloud (paid service).  
Source: https://run.docs.sypnia.com/start/quickstart-cloud/

For agents: Quickstart Sypnia Cloud for Run: npx @sypnia/run login (device flow) → npx @sypnia/run deploy (writes the app's [run.apps.<name>] table in sypnia.toml, prints https://<app>.sypnia.app) → run env set NAME --secret --env production → deploy again → run deploys → run rollback.

At the end you will have an app online at `https://<app>.sypnia.app`, a second deploy, and a rollback.

### 1. Sign in

The CLI opens a browser for you to approve; the session stays on your machine.

```bash
npx @sypnia/run login
```

**You should see:**`Signed in as ana@example.com (organization: La Espiga)`.

### 2. Deploy the folder

From your app's root folder:

```bash
npx @sypnia/run deploy
```

The first time it asks for the app's name and which project of your organization it belongs to, and writes them to `sypnia.toml` at the root of the repository: `project` and the app's `[run.apps.<name>]` table.

**You should see:**The build logs stream in your terminal and end with `Production: https://laespiga.sypnia.app`.

### 3. Add a secret

```bash
npx @sypnia/run env set DATABASE_URL --secret --env production
```

The value is asked without echo and stored encrypted. The next deploy gets it at run time.

### 4. Ship a change

Change something and deploy again. Production moves to the new deploy when its build finishes and its health check passes.

```bash
npx @sypnia/run deploy
npx @sypnia/run deploys
```

**You should see:**Two deploys, the newest marked `production`.

### 5. Roll back

```bash
npx @sypnia/run rollback
```

**You should see:**Production points to the previous deploy in seconds. Nothing is rebuilt.

## Next

- [Deploy from Git](https://run.docs.sypnia.com/deploys/from-git) so every push to `main` deploys and every pull request gets a preview.
- [Connect your domain](https://run.docs.sypnia.com/config/addresses-and-domains).
- [Send logs and traces to Sypnia Telemetry](https://run.docs.sypnia.com/observe/telemetry-and-use-cases).
