# Quickstart

> Create an account, get your API key and test it.

Source: https://docs.peak.fo/docs/quickstart

## Step 1: Create an account [#step-1-create-an-account]

Go to [peak.fo/login](https://peak.fo/login) and click **Create an account**. Enter your email and a password, then open the confirmation link we email you.

## Step 2: Claim your free trial [#step-2-claim-your-free-trial]

Open the [Dashboard](https://peak.fo/dashboard) and click **Claim 1,000 solves**. It adds $0.90 of credit to your balance, enough for 1,000 Turnstile solves. No card needed.

## Step 3: Get your API key [#step-3-get-your-api-key]

Open [Dashboard → API keys](https://peak.fo/dashboard/keys), click **Generate API key** and copy it. Keys start with `pk_`.

## Step 4: Test your key [#step-4-test-your-key]

Ask for your balance. It's free, and it confirms the key works. Replace `pk_your_api_key` with your key:

```bash title="Terminal"
curl https://api.peak.fo/balance \
  -H "X-API-Key: pk_your_api_key"
```

If the key works, you get your balance back:

```json
{
  "success": true,
  "data": {
    "type": "pay_per_solve",
    "balance": 0.9
  }
}
```

If you get `"success": false` instead, `error_code` and `error` say why. See [Authentication](/docs/authentication#errors).

Want to try a solve before writing code? Use the [Playground](https://peak.fo/dashboard/playground) in your dashboard.
