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

# Customer accounts on the Vulpy storefront

> The Starter Pack adds a full customer account area (order history, addresses, profile) on top of Medusa's customer module.

Vulpy Commerce uses Medusa v2 to manage customer identity, addresses, and order history. The Starter Pack adds a storefront account area where shoppers can sign in, view past orders, and manage their profile. This page covers how accounts work and where to configure them.

<Tip>
  **Ask Fox to configure accounts.** Fox can toggle B2B gating, add profile fields, and seed test customers for you.

  Try prompts like:

  * "Turn on B2B price gating in dev."
  * "Add a company-name field to the signup form."
  * "Create a test customer with three orders."
</Tip>

## Medusa customer module

Medusa handles the core customer layer: registration, authentication, address storage, and order association. For the full module reference, see the [Medusa customer docs](https://docs.medusajs.com/resources/commerce-modules/customer).

In Vulpy, storefront auth is served by server actions in `apps/storefront/src/lib/data/customer.ts`.

## Starter Pack account area

The Starter Pack adds the following pages under `/account/*` on the storefront:

* **Sign in / Sign up**
* **Order history** (list and detail views)
* **Saved addresses** (add, edit, delete)
* **Profile management** (name, email, password)

These pages are available by default when the Starter Pack is installed (included in Pro).

## Password reset

Reset password emails use the transactional email template shipped with `@vulpy/medusa-plugin-email`. To configure the email provider and templates, see [/shop/email](/shop/email).

## B2B pricing gate

If you run a B2B storefront, you can hide prices and the add-to-cart button until a customer signs in. Set `REQUIRE_LOGIN_FOR_PRICES=true` at bake-time. For more environment variables, see [/reference/env-vars](/reference/env-vars).

## Managing customers in the admin

Customer records are created automatically on sign-up or during guest checkout. To view and edit customers:

1. Open the Medusa admin at `localhost:9000/app` (dev) or `api.<domain>/app` (live).
2. Go to **Customers**.
3. Use the list to search, filter by group, or open a record to edit addresses and metadata.

<Note>
  Customer groups in Medusa can be used for segmentation, pricing rules, and B2B access control.
</Note>

<CardGroup cols={2}>
  <Card title="Orders" href="/shop/orders">
    View, manage, and fulfill orders from the Medusa admin.
  </Card>

  <Card title="Email" href="/shop/email">
    Configure transactional email templates and providers for the storefront.
  </Card>
</CardGroup>
