# Signup and sign-in

> How a company creates its workspace, how team members sign in, and how an operator controls who may sign up.

URL: https://chatwork.io/en/docs/signup
Section: Start here

Both pages live on the dashboard host, in Arabic and English: `app.chatwork.io/ar/signup`, `/en/signup`, `/ar/login`, `/en/login`.

## Creating a workspace

The signup form asks for the company name, your name, a work email, a workspace ID, a password and a plan. One request then:

1. creates the workspace (and its inbox, when the operator configured provisioning; otherwise the workspace is marked "needs setup" and the dashboard says what to connect);
2. creates you as its first **owner**, with a scrypt-hashed password;
3. starts a trial (`DOT_SIGNUP_TRIAL_DAYS`, default 14) on the plan you picked — no card, no invoice paid, AI replies within the plan's quota;
4. signs you in and opens the dashboard on the setup checklist.

The workspace ID is 3 to 40 characters (lowercase letters, digits, hyphens). It is what your team types to sign in and what the chat widget code carries, so pick something stable. The form checks availability as you type.

The price shown under the plan is the invoice total after the trial, VAT included, computed by the same code that issues the invoice.

## Signing in

Team members sign in with the workspace ID, their email and password. If two-step verification is on, the page asks for the 6-digit code (or a recovery code) next. Sessions live in the browser tab, expire when idle and are revoked on sign-out or password change.

- **Invited?** Choose "I have an invite code". The owner creates the invite under "Team & sign-in" and hands you the code; it works once, for 7 days.
- **Forgot your password?** The owner issues a reset code from the same page; it works once, for one hour, and ends all your sessions. There is no email step because the platform sends no email yet.
- **Operators** with an admin or workspace API key use "Sign in with an API key".

## Who may sign up

| `DOT_SIGNUP_MODE` | Behaviour |
|---|---|
| `open` (default) | Anyone can create a workspace. Bounded by 5 signups per IP per hour and `DOT_SIGNUP_DAILY_CAP` (default 50) per day. |
| `code` | The form asks for a signup code (`DOT_SIGNUP_CODE`). Use it for private betas and reseller onboarding. |
| `closed` | The signup tab disappears; only operators create workspaces (`POST /api/v1/tenants/onboard`). |

Email addresses are not verified (no email provider yet). On a public host, prefer `code` until that exists.
