Skip to content

Auth & Onboarding

How people sign up, sign in, reset a password, join a salon by invitation, set up a new organisation, and how clients sign in to the booking portal.

10 min read

Overview

This page explains how people get into Kagami and where they land. It covers account creation, sign-in, password reset, staff invitations, the setup wizard for a new organisation, and client portal sign-in.

Kagami salon operator onboarding, multi-brand tenant hierarchy, and secure role-based access

There are two kinds of sign-in:

Kind Who How they prove who they are Session
Account sign-in Owners, managers, front desk, stylists, platform operators Email or mobile number plus password Stays signed in until sign-out or expiry
Client portal sign-in Salon clients A one-time code sent by SMS, WhatsApp or email 7 days on that device

Clients never get a dashboard account. See /docs/roles-permissions for what each role can do after signing in.

Quick reference

Topic Behaviour
Password At least 8 characters
Sign-in identifier Email address, or the mobile number saved on the profile
Failed sign-ins After several wrong passwords the account is temporarily locked and the page says how many minutes to wait
Sign-up codes A 6-digit code by email and a 6-digit code by SMS, valid 30 minutes
Password reset code 8 digits, valid 1 hour
Client portal code 6 characters, valid 10 minutes
Staff invitation link Valid 7 days
New organisation Starts on a 14-day trial of the plan chosen in the wizard

Flow overview

NEW OWNER
  Sign up --> enter email code + mobile code --> account created
     --> setup wizard (10 steps) --> dashboard on a 14-day trial

INVITED STAFF
  Invitation email --> invitation page
     --> "Create account & join"   (mobile code only)
     --> or "Already have an account? Sign in"
     --> stylist / front desk land on /my, everyone else on /dashboard

RETURNING USER
  Sign in --> platform operator -> /super-admin
          --> stylist / front desk -> /my
          --> other roles -> /dashboard

FORGOT PASSWORD
  Forgot password --> 8-digit code by email (and SMS if a mobile is saved)
     --> enter code --> choose new password

CLIENT PORTAL
  Open the salon's portal --> pick SMS, WhatsApp or email
     --> enter code --> signed in for 7 days

Routes

Route Purpose Who can open it
/sign-in Sign in with email or mobile plus password. Accepts an invitation (?invite=) Anyone. A signed-in user is sent straight to their workspace
/sign-up Create an account Anyone
/sign-up/verify Enter the sign-up codes, or request new ones Anyone with a pending sign-up
/forgot-password Ask for a password reset code Anyone
/verify-otp Enter the 8-digit reset code Anyone with a pending reset
/reset-password Choose a new password After the reset code is accepted
/set-password Choose a password after following an emailed account link After following that link
/invite/ followed by the invitation token Shows who invited you, the role, and the expiry date, with join, sign-in and decline buttons Anyone with the link
/onboarding Setup wizard for a new organisation Signed in, and not yet in an organisation
/my Staff app: clock-in, schedule, earnings, time off Signed-in staff
/dashboard Main dashboard Signed-in members of an organisation
/super-admin Platform console Platform operators only
/book/ followed by the brand slug, then /portal Client portal for appointments and rewards Clients, after the code sign-in

Signing up

  1. Open /sign-up and enter name, email, mobile number and a password.
  2. The mobile number must be a valid Indian mobile number. Formats such as 98765 43210, +91 98765 43210 or 098765 43210 are accepted.
  3. Kagami sends one code by email and one by SMS. Enter both on the verify page. Codes last 30 minutes, and the page has a resend button.
  4. The account is created only after both codes are correct, and the user is signed in automatically. If the automatic sign-in fails, the page asks the user to sign in with the new password.
  5. New owners continue to the setup wizard.

Common messages:

Message Meaning
An account with this email already exists. Sign in or use Forgot Password. The email is registered
Enter a valid 10-digit mobile number. The number did not pass the format check
Too many signup attempts. Please wait and try again. Several attempts in a short time; wait and retry
Codes expired. Please sign up again. The 30 minutes passed
No pending signup found. Please start again from Sign up. Nothing waiting for this email

Signing in

  1. Enter the email address, or the mobile number saved on the profile, and the password.
  2. Wrong credentials always show the same message ("Invalid login credentials"), whether or not the account exists.
  3. After several wrong passwords the account is locked for a short time and the page shows the minutes remaining.
  4. A staff member whose account was locked by the owner sees the reason, if one was given, and is asked to contact the owner.
  5. Landing page after sign-in:
Who Lands on
Platform operator /super-admin
Stylist, front desk /my
Owner, brand manager, location manager /dashboard (a location manager is then sent to Today)
Signed in with no organisation The setup wizard
Account that exists but has no salon membership The error "No active salon membership found for this account. Please sign in with an invited email."

If a link carried a next page that starts with /my or /dashboard, the user goes there instead.

A signed-in browser that opens /sign-in or /sign-up is redirected to its workspace, except when the link carries an invitation.

Where the codes are sent

Situation What the user receives
Sign-up Email code and SMS code
Invited staff, new account SMS code only. If SMS cannot be delivered, the code is emailed to the invited address
Password reset Email code, plus an SMS if a mobile number is saved on the account
Client portal, SMS chosen SMS only
Client portal, WhatsApp chosen WhatsApp only
Client portal, email chosen Email only

The client portal never falls back to a different channel on its own. If the chosen channel is unavailable the client sees a message asking them to pick another one, for example "WhatsApp isn't available for this business. Please choose SMS or email instead."

If a message cannot be delivered the page says so, for example "Could not deliver the verification code by SMS or email. Check the number/email and try again." The resend button on the verify page requests fresh codes.

Forgot password

  1. Open /forgot-password and enter the account email.
  2. The page always moves on to the code screen, even if no account matches that email.
  3. Enter the 8-digit code from the email (or SMS). The code works once and lasts 1 hour. The resend button is available after a 60-second wait.
  4. Choose a new password (at least 8 characters, entered twice).
  5. Signed-in users can change their password later from the account page. Changing the email address sends confirmation links to both the old and the new address.

Staff invitations

Owners and managers invite people from Settings, Invitations, or when adding a staff member.

  • Roles that can be invited: owner, brand manager, location manager, front desk and stylist. A person can only invite roles at or below their own, except that an owner can invite another owner.
  • An invitation can be scoped to a brand or one location.
  • Each email can have one open invitation per organisation. Re-inviting an email whose invitation expired replaces the old one. Resending creates a new link and the old link stops working.
  • The invitation counts against the plan's team-member limit (see /docs/plans-and-feature-packs).
  • The invitee receives an email with a link to the invitation page, and a WhatsApp message if a mobile number and brand were given.

What the invitee sees on the invitation page: the organisation, the role, the invited email and the expiry date. The buttons are "Create account & join", "Already have an account? Sign in", and decline. If the link is unknown, already accepted or expired, the page says so and tells the invitee to ask an administrator for a new invitation.

Joining:

  • New account: the email is already trusted from the invitation, so only the mobile code is needed. The name and email are pre-filled and read-only.
  • Existing account: sign in with the existing password. The invitation is accepted straight away.
  • The account email must match the invited address. Otherwise the message is "This invitation was sent to a different address."
  • After joining, stylists and front desk go to /my; other roles go to /dashboard. The staff profile created by the owner is linked to the new account.

Setup wizard for a new organisation

New owners land on /onboarding after verifying their account. A user who already belongs to an organisation is sent to the dashboard instead.

Step What it asks
1. Business Business name (required) and business details
2. Plan Plan tier for the 14-day trial
3. Brand Brand name and web address slug (both required)
4. Location First location name (required), address, timezone
5. Categories Service categories to start with
6. Services Optional starter services with duration and price
7. Staff Optional starter staff names
8. Import Optional client list upload
9. Loyalty & Referrals Points programme and refer-a-friend voucher, both on by default
10. Review Check everything and finish

Everything except the required fields can be skipped and done later from the dashboard.

On finish, Kagami creates the organisation, the brand, the first location, the service categories, and gives the signed-in user the owner role. It then starts the 14-day trial, adds any starter services, clients and staff, sets up the loyalty and referral programmes if chosen, and adds the default marketing journeys. The user lands on /dashboard.

Starter staff added in the wizard do not receive a login. Invite them afterwards from Settings, Invitations.

If a starter staff list is longer than the chosen plan allows, the wizard shows "Your plan allows up to N staff members. Remove X or choose a larger plan."

Client portal sign-in

Clients open the salon's portal from the booking page. If the salon has not switched the portal on, the page says "The client portal is not available."

  1. The client enters a mobile number or email and picks a channel: SMS, WhatsApp or email.
  2. A 6-character code arrives (6 digits by email). It lasts 10 minutes and works once.
  3. After a number of wrong guesses the code stops working and the client must wait before asking for a new one.
  4. A correct code signs the client in on that device for 7 days. The session is specific to one salon brand.
  5. The same sign-in also opens the loyalty card page.

If a client enters an email that matches no saved phone, the portal still signs them in using the email, and shows what is linked to that address.

Access rules on the website

  • Signed-out visitors who open /dashboard are sent to /sign-in.
  • An expired session sends the user to sign-in with the message "Your session has expired. Please sign in again."
  • If Kagami cannot verify a session for a moment, the page shows "Temporarily unavailable" with a "Try again" link. The user is not signed out.
  • The platform console at /super-admin is for platform operators. Anyone else is sent back to sign-in or to the dashboard.
  • Each role only sees the dashboard pages its permissions allow. Owners can switch individual pages off per role in Settings (see /docs/roles-permissions and /docs/settings).
  • On the application subdomain, opening the root address sends signed-out visitors to sign-in and signed-in users to their workspace.
  • /docs/roles-permissions for roles and what each can access
  • /docs/settings for organisation, brand and location settings
  • /docs/plans-and-feature-packs for plans, features and limits