> ## Documentation Index
> Fetch the complete documentation index at: https://next-developers.opencard.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Register & Setup

> Register a sandbox account on OpenCard, verify your email, find your accountId, and create your first account_client OAuth client to start integrating.

## Sandbox registration

1. Go to 👉 [sandbox-api.opencard.io/register](https://sandbox-api.opencard.io/register)
2. Fill in account + user details
3. Verify email (check inbox + spam)
4. Log in

You now have:

* An **Account** (your EMS partner account)
* An **admin user** (for dashboard access)
* An `accountId` (visible in dashboard URL)

***

## Create account\_client

**Dashboard:** Account → OAuth Clients → Create New

This creates an **`account_client`** — your machine-to-machine credential for the EMS API. Give it a name, select scopes (see [Authentication](/getting-started/authentication)), save.

You'll get:

* `client_id`
* `client_secret` (shown **once** — copy it now)

***

## Get your first token

```bash theme={null}
curl -X POST https://sandbox-api.opencard.io/oauth/token \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -H "Accept: application/json" \
  -d "grant_type=client_credentials" \
  -d "client_id=YOUR_ID" \
  -d "client_secret=YOUR_SECRET" \
  -d "scope=accounts-read"
```

If you get a token back → you're wired up. 🔌

***

## Production access

Sandbox is free and instant. Production requires:

1. Complete sandbox integration
2. Security review
3. Partnership agreement

Email **[support@opencard.io](mailto:support@opencard.io)** when you're ready.

***

## What's next?

→ [Quickstart](/getting-started/quickstart) — full integration walkthrough
