> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help-b2b.bsscommerce.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# B2B Solution | How to divide customers into different groups (eg. B2B and B2C)?

In Shopify, there is no option to categorize customers by default. Therefore, we should use customer tags to differentiate customers; for example, normal customers will have no tag, while b2b customers will have the tag "b2b" assigned. As a result, all customers will log in with the same Login form (email and password), and we can treat them differently based on customer tag(s).

Normally, you can manually assign a customer tag by going to **Shopify admin** > **Customers** > **edit a customer** > **add a tag. ** However, this approach may waste your time if your store has a huge number of customers to handle.

![](https://storage.crisp.chat/users/helpdesk/website/-/c/4/a/6/c4a62a42ab467800/image_1tgcu0g.png)
To solve this problem, this article will help you **auto-assign customer tag** based on pre-defined conditions.

There are two way to auto-assign customer tag as follows:

# Use Auto-tag option in Registration Form module
Steps:
1. From the left sidebar navigation of the app, access **Customer Management** > **Registration Form** > **Configuration**
2. Create a new Wholesale Registration form or edit a form that you already created for your customers to register a wholesale account
3. Find **Tags** section > input the tag(s) you want assign to all customers who register the form

As a result, our app will assign the tag(s) to registered customers automatically in Shopify Customers admin page.

![](https://storage.crisp.chat/users/helpdesk/website/-/c/4/a/6/c4a62a42ab467800/image_16o2g9s.png)
# Combine Auto-tag module with Registration Form module
If you want to assign different customer tags to customers based on flexible conditions, you can try this way. For example, as a store owner, I want to categorize customers based on their job. Let's see how we can achieve that:

1. From the left sidebar navigation of the app, access **Customer Management** > **Registration Form** > **Configuration**
2. Create a new Wholesale Registration form or edit a form that you already created for your customers to register a wholesale account
3. Add a field to collect customer's job in the registration form

![](https://storage.crisp.chat/users/helpdesk/website/-/c/4/a/6/c4a62a42ab467800/image_6t361g.png)
4. Turn back to the left sidebar navigation of the app, access **Customer Management** > **Auto Tag** > **Configuration > **click ** Add rule**
5. Please select **Event: Customer created** and the Registration From containing the field you added in **step 3**. After that, set the condition as follows:

![](https://storage.crisp.chat/users/helpdesk/website/-/c/4/a/6/c4a62a42ab467800/screenshot24_6a0ggk.png)
6. Create another rule to assign another tag

![](https://storage.crisp.chat/users/helpdesk/website/-/c/4/a/6/c4a62a42ab467800/screenshot23_1bc0g6h.png)

||| Note: Remember to get the exact values of the field's options to add to the Auto Tag rule to ensure the rule works as expected. Don't use Option text to input in Auto Tag rules!
![](https://storage.crisp.chat/users/helpdesk/website/-/c/4/a/6/c4a62a42ab467800/image_1t1nfq8.png)
For more details, please refer to our app user guides here: [Registration Form](https://docs-shpf.bsscommerce.com/b2b-wholesale-solution/customer-management/registration-forms) and [Auto Tag.](https://docs-shpf.bsscommerce.com/b2b-wholesale-solution/customer-management/auto-tags-orders-customers) If you still have any further questions or concerns, please feel free to drop us a line on live chat or via email.

Hope this article helpful. Wish you a cracking day 😊!

*By Emma C.*