# Sign in with an in-game code

> Send yourself a code in the game, sign in and keep the token safe.

5 min read · https://arena.rone.dev/guides/sign-in

## 1. Find your numbers

In the game, open your profile. Your Role ID is the long number under your name, and the Zone ID is the number in brackets beside it.

## 2. Sign in on the website

Open any docs page and select Sign In.

![The sign-in window with four numbered marks](https://arena.rone.dev/images/guides/sign-in.png)

1. **Role ID.** Your player number.
2. **Zone ID.** Your server number.
3. **Send VC.** Sends a verification code to your in-game mail. It lasts 5 minutes.
4. **Code.** Type the code from the mail, then select Sign In.

## 3. Or sign in from code

Ask for a code, then exchange it for a token (data.jwt).

```
curl -X POST "https://arena.fastapicloud.dev/api/user/auth/send-vc" \
  -H "Content-Type: application/json" \
  -d '{"role_id": 123456789, "zone_id": 1234}'

curl -X POST "https://arena.fastapicloud.dev/api/user/auth/login" \
  -H "Content-Type: application/json" \
  -d '{"role_id": 123456789, "zone_id": 1234, "vc": 1234}'
```

## 4. Use the token

Send it in the Authorization header.

```
curl "https://arena.fastapicloud.dev/api/user/info" -H "Authorization: Bearer YOUR_TOKEN"
```

> **Note:** Treat the token like a password. Do not put it in a web page, a repository or a screenshot. Call logout when you are done.
