Source: https://proxvn.io.vn/docs/account

# Accounts & reserved names

ProxVN works without an account. A free account lets you **reserve subdomains** and see and stop your tunnels from the browser, with account-specific limits shown in the Console.

## 1. Sign up

Open the [Console](https://proxvn.io.vn/console/), choose **Sign up**, and enter a username, email and password.

Registration can be disabled by the administrator. When SMTP is available, the server sends a verification link valid for 24 hours. If the email-verification policy is enabled, unverified regular accounts cannot sign in or use account features; administrators can still sign in. When the policy is off, an unverified account can still be used. If the message is missing, enter your username or email on the sign-in screen and choose **Resend verification email**. The button waits 60 seconds between requests. If mail is disabled or unavailable, a new message cannot be sent; you can still open an earlier link and refresh your status in the Console.

## 2. Log in from your machine

In the Console go to **Account → API key**, copy the command and run it once:

$` proxvn login pvn_xxxxxxxxxxxxxxxx `

The key is stored in ` ~/.proxvn/config.json ` (mode 600) and is used when that is the active config file. A ` proxvn.json ` beside the binary/in the working directory or ` PROXVN_CONFIG ` can take precedence; files are not merged. ` PROXVN_TOKEN ` and ` --token ` can also override the saved key. See [explicit configuration selection](https://proxvn.io.vn/docs/client#config). ` proxvn logout ` only removes the key in the user config, not environment tokens or keys in other files.

## 3. Reserve a subdomain

In the Console open **Subdomains** and reserve e.g. ` myshop `. Only your account can use ` https://myshop.proxvn.io.vn `:

$` proxvn http 3000 --subdomain myshop `

Each account has a limit on reserved names and concurrent tunnels (shown in the Console). System names such as ` www `, ` api ` and ` admin ` are reserved.

## 4. Manage from the Console

- Live view of your tunnels, bandwidth and connections.
- Stop a tunnel remotely.
- Rotate your API key if it leaks (the old one stops working immediately).
- View your email and verification status, request another verification message when mail is available, refresh status after following a link, view your profile and change your password. Password changes invalidate existing Console/API sessions.

## 5. Email and password recovery

Choose [Forgot password?](https://proxvn.io.vn/console/#/forgot) on the sign-in screen. When SMTP is available, the server sends a single-use link valid for 30 minutes. The response does not reveal whether an account exists. If SMTP is not configured or mail is temporarily unavailable, the request reports that mail is unavailable; contact the server administrator.

With SMTP enabled, verified mailboxes can receive security notices for unfamiliar-IP sign-ins, password changes/resets, email changes and API-key changes, according to the administrator's alert settings. Announcements are sent only to verified addresses that opted in; their unsubscribe link turns off announcements without suppressing security mail.

### Email and profile API

The Console currently shows your email and verification status, can request another link when mail is available, refresh status after verification and change your password. The profile endpoints below require a Console Bearer token. ` GET /api/profile ` returns verification status and any pending email address. ` PUT /api/profile/email ` accepts ` email ` and your current ` password `; working SMTP is required to send its 24-hour confirmation link. The current address remains on the account until you confirm the new one. Open the confirmation link to apply the new email; the link is single-use and expires after 24 hours. Cancel a pending request with ` DELETE /api/profile/email `. The server applies a 60-second resend limit; when SMTP is disabled or unavailable, an email-change or verification request fails and the current address does not change. ` POST /api/profile/resend-verification ` requests another message for an unverified account. ` PUT /api/profile/prefs ` accepts ` lang ` (` en `/` vi `) and ` marketing_opt_in `. ` GET /api/profile/export ` downloads JSON containing profile data, tunnels and reserved names, but not the password or API key. There is currently no user self-service account-deletion action in the Console or profile API.

[← Commands & options](https://proxvn.io.vn/docs/cli)[Account dashboard →](https://proxvn.io.vn/docs/console)
