# Quickstart

> From zero to a shell in a flockvm microVM: sign up, create an organization, start the free trial, add an SSH key, launch a VM and connect over SSH.

- URL: https://flockvm.com/docs/get-started/quickstart
- Section: Get started
- Last updated: 2026-11-10

This page takes you from no account to a shell in a running VM, then shows you how to stop paying for it. You need an email address, a card, a terminal with `ssh`, and a few minutes. There is no approval to wait for.

> **Tip: Want to look around first?.** The [interactive demo](https://flockvm.com/demo) is the dashboard with fake data, in your browser and without an account: launch a VM, watch it boot, try SSH in a simulated terminal, run a CI job and invite a teammate.

## Before you start

- A **Google** or **GitHub** account, or just an email address to get a sign-in link.
- **OpenSSH** on your machine (`ssh -V` prints a version). It ships with macOS, Linux and Windows 10 and later.
- A **card** for the free trial. **7-day free trial. Card required, nothing charged for 7 days, cancel anytime.** Then $18/month, which comes back as $18 of VM time. See [Free trial](https://flockvm.com/docs/billing/trial).

## Get a VM

1. **Sign up**

   Go to [flockvm.com/signup](https://flockvm.com/signup) and press **Continue with Google** or **Continue with GitHub**, or enter your email to get a sign-in link. The first sign-in creates your account. See [Your account](https://flockvm.com/docs/team/account#sign-in).

   ![The flockvm sign-in page](https://flockvm.com/docs/screenshots/login.webp "Sign in with Google, GitHub or an email link.")

2. **Create your organization**

   After your first sign-in, flockvm asks you to **Create your organization**: VMs, teammates and usage belong to an organization, not to a person. Give it a name, keep or edit the suggested slug, and press **Create organization**.

   If a teammate already invited your email address, the invitation shows on the same page under **Invitations waiting for you**: join it instead.

   ![Creating an organization during onboarding](https://flockvm.com/docs/screenshots/onboarding.webp "Name your organization. The slug is suggested from the name.")

3. **Start the free trial**

   The dashboard asks you to start the free trial before your first VM. As the owner, open **Settings → Billing**:

   1. Fill **Billing details** (name on invoices, billing email, business or not, VAT number, address) and press **Save details**. They decide the VAT and go on the invoices.
   2. In **Plan**, press **Start 7-day free trial**. Stripe Checkout opens: enter the card. It is saved, not charged.

   Back on the billing page, the plan shows the trial and the day it ends. The trial gives 25 hours of VM time, 2 VMs at once, small and default sizes, and costs nothing. On day 7 the card is charged $18, plus VAT when it applies, and the plan starts with $18 of VM time for the month. **Cancel trial** on the same page means nothing is ever charged. See [Free trial](https://flockvm.com/docs/billing/trial).

   If the organization, you or the card already had a trial, the page says **No free trial for this card/organization**, and nothing is charged until you press **Start the plan for $18 now**.

   Owners and admins start the trial; members cannot.

4. **Add an SSH key**

   VMs accept SSH logins by public key only. If you do not have a key yet, create one:

   ```bash
   ssh-keygen -t ed25519 -C "you@laptop"
   ```

   Press Enter to accept the default path (`~/.ssh/id_ed25519`) and pick a passphrase. Then print the public half, the one you share:

   ```bash
   cat ~/.ssh/id_ed25519.pub
   ```

   Copy the whole line, which starts with `ssh-ed25519`. Save it under **Settings → Account → SSH keys** with **Add key**, or paste it in the New VM form in the next step. flockvm accepts `ssh-ed25519`, `ssh-rsa` and `ecdsa` keys.

   **Never paste the private key** (the file without `.pub`, starting with `-----BEGIN`). The form refuses it.

   More options in [SSH keys](https://flockvm.com/docs/vms/ssh-keys).

5. **Launch a VM**

   On the dashboard, open **New VM**. The form has four parts:

   1. **Region**: France.
   2. **Size**: `default` (4 vCPU, 8 GB) is preselected when it fits; `small` (2 vCPU, 4 GB) costs half. A size that does not fit the host right now is greyed out with the reason. During the trial, only `small` and `default` can be picked.
   3. **Image**: **Agent** (`ubuntu-26.04-agent`) is selected: coding agent CLIs, Node.js 26, Python, Go, Rust, Docker and Playwright. **Minimal** (`ubuntu-26.04`) is a small Ubuntu with Git, Node.js 22, Python 3 and Docker, where you log in as `root`. See [Images](https://flockvm.com/docs/vms/images).
   4. **Name and SSH key**: lowercase letters, digits and dashes, up to 40 characters. Pick a saved key or paste one.

   The panel on the right shows the estimated price per hour. Press **Launch VM**.

   ![The New VM form](https://flockvm.com/docs/screenshots/new-vm.webp "Pick a region, a size, an image and an SSH key, then Launch VM.")

   The VM page opens with the VM `starting`. It turns `running` once SSH answers.

6. **Connect over SSH**

   The **Connect** section of the VM page shows the SSH command with a copy button. Paste it in your terminal:

   ```bash
   ssh -p PORT user@HOST
   ```

   `PORT` and `HOST` are the values shown on the VM page. You log in as `user` on the Agent image, and as `root` on Minimal: the command on the page has the right one. Each VM has its own port, between 22001 and 22990. The first connection asks you to confirm the VM's host key: type `yes`.

   ![The SSH command of a VM, with its copy button](https://flockvm.com/docs/screenshots/vm-ssh.webp "Copy the command from the Connect section.")

## Run something

On the Agent image you are `user`, with passwordless `sudo`, on Ubuntu 26.04. Git, Node.js 26, Python, Docker, tmux and the coding agent CLIs are already there. Package lists are not, so run `apt-get update` before you install anything (on Minimal you are `root`: leave out `sudo`):

```bash
sudo apt-get update && sudo apt-get install -y redis-server
git clone https://github.com/you/your-repo.git
cd your-repo && npm ci && npm test
```

Claude Code is installed, and `user` is not root, so `--dangerously-skip-permissions` works. Start it in tmux and sign it in from inside the VM: run `/login` in the session for a Claude plan (open the URL it gives you in your laptop's browser), or set your organization's `ANTHROPIC_API_KEY` first:

```bash
tmux new -s agent
claude --dangerously-skip-permissions   # then /login, if it does not ask on its own
```

Detach from tmux with `Ctrl+B` then `D`; the agent keeps running if your connection drops. The full walkthrough, and the steps for a Minimal VM, are in [Claude Code](https://flockvm.com/docs/agents/claude-code).

> **Warning: Credentials live in the VM.** Whichever way you sign the agent in, its credential is stored in the VM, where the agent can read it. Use an API key you can revoke, and run `/logout` when you are done.

## Stop paying for it

A VM bills per second while it is `starting` or `running`, first from the plan's $18 for the period, then from the wallet. During the trial it costs nothing, but the same seconds count toward the trial's 25 hours. On the VM page:

| Button     | What it does                                                                                                  | Billing |
| ---------- | ------------------------------------------------------------------------------------------------------------- | ------- |
| **Pause**  | Writes memory and processes to disk and frees the RAM. **Resume** brings back the same processes and address. | Stops   |
| **Stop**   | Clean shutdown. The disk is kept; **Start** boots it again.                                                   | Stops   |
| **Delete** | Removes the VM, its disk and its snapshots, for good.                                                         | Stops   |

> **Tip:** Pause is the fastest way back to work: your tmux session, your dev server and your shell history are all where you left them.

Push your code before you delete a VM: nothing on its disk survives. See [Start, stop, pause and delete](https://flockvm.com/docs/vms/lifecycle).

## Next steps

- [Free trial](https://flockvm.com/docs/billing/trial): What the trial includes, day 7, and how to cancel.
- [Connect over SSH](https://flockvm.com/docs/vms/ssh): Config files, port forwarding, scp and rsync.
- [Core concepts](https://flockvm.com/docs/get-started/concepts): Organizations, VM states, sizes and billing.
- [Run Claude Code](https://flockvm.com/docs/agents/claude-code): An agent in its own VM, with tmux.
- [GitHub Actions runners](https://flockvm.com/docs/ci/overview): Run CI jobs with `runs-on: flockvm`.
