Create a user and company account in Vendure

The Company Accounts feature supports a company record, multiple users, and company-specific roles.


1. Manually create a new customer user

Step 1 — Open Customers

Sign in to your Vendure Dashboard. In the sidebar, select Customers → Customers.

Step 2 — Add a customer

Click the create/add customer action. Enter the person's first name, last name, email address, and any other required fields.

Step 3 — Important reminder - Credit balance can't be set to zero, there always needs to be a working balance for the discounts to work.

Step 4 — New customers require a linking to 6-digit company number (this company number is required for new users)

Step 5 — Save the record

Save the customer and check that they appear in the customer list. In standard Vendure, creating a customer record and enabling their login are separate concerns; the admin API also supports creating a customer with a password.


2. Create the company account

Step 1 — Find Company Accounts

Look in your Dashboard navigation for Company Accounts, Companies. This menu is available when the Company Accounts capability is enabled.

Step 2 — Create the company

Select the add/create action and enter the company details requested by your installation, such as its business name, compulsory 6-digit unique account number, company contact details, and address.

Step 3 — Add the user to the company

Open the company's members or users section. Add the customer you created earlier, or invite a new user if that option is available. Assign the appropriate company role, such as company administrator, buyer, or approver. New users are added + Create new employment

Step 4 — Save and verify

Confirm that the company is saved and the user appears as a member. Check that the user can access the correct company account through your storefront's sign-in flow.