> Markdown version of https://tuna.am/en/docs/cli/app/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# tuna app

Connect a local upstream to a protected App.

Guide with examples: [Apps](https://tuna.am/en/docs/apps.md).

Usage

```bash
tuna app [name] [flags]

```

Examples

```bash
tuna app staging
tuna app staging --url=http://localhost:8080
tuna app staging --url=https://localhost:8443 --tls-skip-verify
tuna app staging --hello-world

```

| Flag                | Description                                                                                                                                   |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| `--api-key string`  | Your tuna.am api key with the tunnels:connect scope (env `TUNA_API_KEY`).                                                                     |
| `--hello-world`     | Run a built-in test upstream instead of forwarding to a local service. Useful for verifying auth-pipeline without setting up a real upstream. |
| `--tls-skip-verify` | Ignore TLS verification on the upstream connection. Default: `true`.                                                                          |
| `--url string`      | Local upstream URL to forward traffic to (e.g. `http://localhost:8080`, `https://localhost:8443`). Default: `http://localhost:8080`.          |

[Global flags](https://tuna.am/en/docs/cli.md#global-flags) work too.
