# Platform Quick Start

Source: https://docs.formance.com/getting-started/quickstart

Stack: v3.2

This guide gets you up and running with Formance as fast as possible. By the end, you'll have moved money in a Formance Cloud sandbox using the command line.

Install the CLI

Install `fctl`, the Formance command-line tool:

macos:

```bash
brew install formancehq/tap/fctl
```

linux:

```bash
# Add the Formance repository
echo "deb [trusted=yes] https://apt.fury.io/formance/ /" | sudo tee /etc/apt/sources.list.d/formance.list

# Install fctl
sudo apt update && sudo apt install fctl
```

windows:

Download the latest release from [GitHub Releases](https://github.com/formancehq/fctl/releases) and add the `fctl.exe` binary to your `PATH`.

Select your operating system above.

Verify the installation:

```bash
fctl version
```

Login & Create a Sandbox

Authenticate with Formance Cloud (this opens a browser):

```bash
fctl login
```

List the regions available to your account:

```bash
fctl cloud regions list
```

Pick a region ending in `-sandbox` for a free development environment, then create the stack:

```bash
fctl stack create playground --region="<REGION_ID>"
```

If you omit `--region`, fctl prompts you interactively from the same list.

The sandbox typically provisions in a few minutes — exact time varies with cloud capacity. It includes Ledger, Payments, Auth, and Gateway modules ready to use.

Verify your sandbox is ready and get your stack ID:

```bash
fctl stack show --name=playground
```

Look for the **ID** field in the output:

```
# Information
ID               | ecwj       |   ← This is your stack ID
Name             | playground |
Region           | eu-sandbox |
Status           | ACTIVE     |
```

You'll need this stack ID for the next commands.

Send Your First Transaction

Send $1.00 from `world` to `alice`:

```bash
fctl ledger send world alice 100 USD/2 --ledger=quickstart --stack="<STACK_ID>"
```

`world` is a built-in account that can go negative. This is useful for creating funds out of thin air to get started quickly. In production, you'd fund accounts through actual payment flows instead.

`USD/2` means USD with 2 decimal places, so `100` represents $1.00. This is how Formance handles monetary precision without floating-point errors.

Check the balances:

```bash
fctl ledger volumes list --ledger=quickstart --stack="<STACK_ID>"
```

You should see `world` with a negative balance (-100) and `alice` with a positive balance (100). That's double-entry bookkeeping in action!

**Congratulations!** 🎉 You just executed your first transaction on a programmable ledger.

Clean Up Your Sandbox

When you're done experimenting, delete your sandbox to free up resources. Each account is limited to one active sandbox.

```bash
fctl stack delete --name=playground
```

Sandboxes are automatically disabled after 15 days and deleted after 30 days. Data persistence is not guaranteed.
