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

# Create password (onboarding)

> The last onboarding step: create the password and finish the activation.

## At a glance

| Field | Value |
| - | - |
| Status | **Available** (behind a feature flag) |
| Route | `/{locale}/onboarding` |
| Menu | Outside the menu: entered from the invitation e-mail |
| Feature flag | `portal-customer-onboarding` (default: off) |
| Who sees it | Invited customers: primary user of a personal account or legal representative of a company |
| Last verified | 2026-11-10 against `develop` (`c10d24f33d`) |

## What it is for

Last step: the customer creates their B Brands account password. Once saved, the onboarding ends and takes them to the success destination (portal Home by default).

## How to get there

After confirming the payment method of the last service.

![Onboarding journey: invitation e-mail, link activation, Welcome, Validate ID, one Payment method per business unit and Create password, which leads to the success destination. Exit leads to the exit destination and progress is kept.](https://mintcdn.com/bbrands/w6DX1nTsRjzB7VQp/images/portal-customer-manual/onboarding-navigation.svg?fit=max\&auto=format\&n=w6DX1nTsRjzB7VQp\&q=85\&s=134dc85f30315cfd7f439f584a3787e2)

Onboarding journey

## What the customer sees

> [tab] Desktop
>
> ![Create your password step with new password, repeat and the Create password button.](https://mintcdn.com/bbrands/faC9xD4-ppUP5Q_S/images/portal-customer-screens/onboarding/password.en.desktop.webp?fit=max\&auto=format\&n=faC9xD4-ppUP5Q_S\&q=85\&s=3399679ff840d908b8eb00b3143a5c71)

> [tab] Mobile
>
> ![Create your password step with new password, repeat and the Create password button.](https://mintcdn.com/bbrands/faC9xD4-ppUP5Q_S/images/portal-customer-screens/onboarding/password.en.mobile.webp?fit=max\&auto=format\&n=faC9xD4-ppUP5Q_S\&q=85\&s=72d44223b2cad97f484b1ccf5d583e2e)

| Element | What it does |
| - | - |
| **New password** | Use at least 4 of 5: 8 characters, a lowercase letter, an uppercase letter, a number and a symbol. |
| **Repeat password** | Must match |
| **Create password** | Saves and finishes |

## Step by step

**1. Type and repeat**

At least 4 of 5 rules: 8 characters, lower-case, upper-case, number and symbol.

**2. Create password**

They see "All set. Redirecting you…" and reach the success destination.

## Business rules

| ID | Rule |
| - | - |
| R-01 | Password with 4 of 5 rules, repeated exactly |
| R-02 | Someone who already has a password skips this step |
| R-03 | Success destination: `portal-customer-onboarding-redirect-success` (portal path or https URL on maihuechile.cl, maihue.cl or bbrands.io) |

## States and messages

| State | What the customer sees | Why | What to do |
| - | - | - | - |
| Done | "All set. Redirecting you…" | Nothing left | — |

## Errors

| Message | Cause | Backend code | Support action |
| - | - | - | - |
| "The password must meet at least 4 of these rules: 8 characters, a lowercase letter, an uppercase letter, a number and a symbol." | Does not meet the rules | 400 | Suggest a stronger one |
| "Passwords do not match." | Does not match | — | Repeat it |
| "We could not create your password" | Could not be saved | `POST …/onboarding/password` | Retry |

## Why it works this way

![Onboarding process.](https://mintcdn.com/bbrands/w6DX1nTsRjzB7VQp/images/portal-customer-manual/onboarding-process.svg?fit=max\&auto=format\&n=w6DX1nTsRjzB7VQp\&q=85\&s=f2050298803041574f27781bc281dcf5)

The password closes the onboarding

The password comes last so that, with everything else done, the customer leaves with a permanent way to sign in.

## Technical detail

| Aspect | Detail |
| - | - |
| Component | `components/screens/onboarding/onboarding-password-step.tsx` |
| API | `POST /api/v3/portal/customer/onboarding/password` |
| Feature flag | `portal-customer-onboarding-redirect-success` |

## FAQ and support cases

> [accordion] They finished and were not taken to the portal
>
> The success destination may be a Maihue page (flag). They can enter the portal by signing in.

## Related and history

* [Pending onboarding](https://docs.bbrands.io/portal-customer/onboarding/pending-onboarding.md)

| Date | Change |
| - | - |
| 2026-11-10 | First version |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.