> For the complete documentation index, see [llms.txt](https://docs.xorosoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xorosoft.com/xoroerp-1/b2b/b2b-portal-account-login.md).

# B2B: Portal Account Login

The B2B customer portal allows clients to complete tasks independently, such as placing orders, accessing detailed product information, monitoring order status, and tracking deliveries. Access to the [B2B portal](#creating-a-portal-user) is restricted to portal users. To log into the portal, one must be a designated [portal user](/xoroerp-1/admin/user/portal-user/portal-user-centre.md).&#x20;

You can designate a new or existing user as a portal user by sending them an invitation link. Additionally, a new portal user account can be created through a presentation link shared via a campaign. Once a customer is designated as a portal user, they receive a unique Portal Account Number, which distinguishes their portal account in the system.

After the [portal user](#creating-a-portal-user) is created, you will have to validate the user for them to access the [B2B portal](/xoroerp-1/b2b/customer-portal.md).

### Creating a Portal User

#### With the Invitation Link

A portal user can be created via an invitation link that contains sign-up details for the customer. This process includes setting up or editing a customer account, assigning portal user status, and sending an invitation. Below is a step-by-step guide to help you navigate this process efficiently.

* Create a Customer or edit an existing Customer. Go to the Portal tab and check the **“Is Portal user”** checkbox.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2Fa9O7I0BV2EXfI1AaDOI0%2Fimage.png?alt=media&amp;token=436b39a8-8c61-4889-864f-aa87baeef682" alt=""><figcaption></figcaption></figure>

* Save/Update the customer. Once the changes are applied, the Portal Account number will be assigned automatically to the customer.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FwYB8sRjhICDmc7Ui5QdB%2Fimage.png?alt=media&amp;token=ae1e0d9a-6a1c-4cd1-b12b-a5b4c760334f" alt=""><figcaption></figcaption></figure>

* This **“Account Number"** will also be reflected in the “Portal User Centre”.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2F6KkdUAhZAuBybWacobRh%2Fimage.png?alt=media&amp;token=3f5d91ca-7b68-47ae-9646-1e1b450374c6" alt=""><figcaption></figcaption></figure>

* Now, send the Portal Invitation from the Customer module/ Customer Portal Invitations module.

  * To send the invitation from the customer module, open the customer and go to Options > Send Portal Invitation.

  <figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FkoJ0DSobRm3beOiSIbIT%2Fimage.png?alt=media&amp;token=315c6236-1c98-4eb6-94fa-bbacd723493e" alt=""><figcaption></figcaption></figure>

  * To send the invitation from the Customer Portal Invitations module, select the customer and go to Options > Send Invitation.

  <figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2F48M5ZJztKqEAMzbxazJq%2Fimage.png?alt=media&amp;token=1d08b02d-00b5-42c1-a142-a0a9094c998a" alt=""><figcaption></figcaption></figure>
* The Invite Status can be checked from the **Portal User Centre**.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FySzBQdopT77IuBvz5adv%2Fimage.png?alt=media&amp;token=e1c256e5-1c18-4415-9353-19229985d558" alt=""><figcaption></figcaption></figure>

* The Invitation Email will contain an **Invitation Code**. This code is a unique key required for the Portal Signup Process through Invitation.
* Customers can click on **"Register"** to begin the sign-up process for the user.&#x20;

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FThoiSoNCEdJ4XoHTUCbu%2Fimage.png?alt=media&amp;token=f4216ace-5cc0-4593-90d8-feecd66da62a" alt=""><figcaption></figcaption></figure>

* Enter the email, name, and password, and click **"Register"** to complete the Portal User Signup process.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FM8JZwRb2Fr2KVB3XHuwr%2Fimage.png?alt=media&amp;token=81f801b1-afe9-4910-aa85-9126ac4bd316" alt="" width="425"><figcaption></figcaption></figure>

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FDDiGeulu38HlAtF14vuC%2Fimage.png?alt=media&amp;token=4e43282f-0f18-4a1b-9042-6d43564d2e99" alt="" width="455"><figcaption></figcaption></figure>

* After setting up the account, go to your inbox and validate your email.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FBYaV7Sw8IC2grMy2RPdP%2Fimage.png?alt=media&amp;token=9eb5bb2f-629f-41f0-96b9-d82bee65f52e" alt=""><figcaption></figcaption></figure>

* After completion of the user signup, the portal user will be active and can be confirmed from the **Customer Portal Invitations** module.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FNf1wLRWeWzLNRh6UTXgC%2Fimage.png?alt=media&amp;token=91ec541d-0879-4c15-87d7-5e30a8dbbbca" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If the portal user is already active and you need to resend the portal invitation, navigate to **Menu → Sales → Customer Section → Customer Portal Invitations**, select the customer record, and click **Options → Disable Customer Portal**.&#x20;

Once the portal is disabled, select the customer record again and click **Options → Enable Customer Portal**. After re-enabling the portal, click **Options → Send Invitation** to resend the portal invitation email to the customer.
{% endhint %}

{% hint style="info" %}
**Please note:  When using the Invitation Link:**

* The login email can be edited while logging into the Portal Account.
* ***New Customers will not be created even if the main email is not used while logging into the Portal Account. The email will be linked to the existing Customer.***
  {% endhint %}

### With the Presentation Link

The user can create a new single- or multi-user portal account with the presentation link. No invitation code is required for this process. However, when creating a portal user via a presentation link, there's an option to enable an approval process for creating the portal user.&#x20;

To enable the Approval Process, navigate to the B2B tab in the App Config module. Here are the specific app configs that need to be adjusted to activate the approval process:

1. **Use Portal signup authorization:** By enabling this setting, a notification will be sent to the portal signup approver for approval of the new account sign-up.
2. **Portal signup approver email(s)**: This setting allows you to define the email address of the approver who will receive the notification for signup approval. When a user registers or signs up for the B2B presentation, the system will automatically send a notification to the designated approver for their approval.

If the Approval Process is enabled in the App Config, then users will need to be approved by the admin before their account is activated.

#### Creating the portal user using a presentation link

Follow the steps below to create a portal user from the presentation link:

* Copy the presentation link given in the campaign and open it in an **Incognito window**. Opening the presentation link in the same browser window may use the existing session, which can result in an error.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FTWcYHOPAYKZoE5iRnpsA%2Fimage.png?alt=media&amp;token=3d7a7485-0161-4ce1-b323-562a421729a8" alt=""><figcaption></figcaption></figure>

* Enter the customer's email and click "Sign in".&#x20;

<div align="left"><figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FbaIOm3P8wu9bMmmHR9qS%2Fimage.png?alt=media&amp;token=e17b8a4a-8533-4b82-8f89-54b8b804d258" alt=""><figcaption></figcaption></figure></div>

* You will be redirected to the Portal Login screen. Enter the email, name, and password, and click "Register".

<div align="left"><figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FWD4k7ROrpUi0bDDudQH3%2Fimage.png?alt=media&amp;token=521dd5cb-b084-4500-997f-c1d468c02ff9" alt=""><figcaption></figcaption></figure></div>

* The user will be registered and prompted to validate the email.

<div align="left"><figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FjoWoLTlz6tJ0qMfdM3RB%2Fimage.png?alt=media&amp;token=5d6e255c-9e07-4df9-9d04-02c4327a5faf" alt=""><figcaption></figcaption></figure></div>

* Open the inbox and Verify the Email.<br>

  <div align="left"><figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2Fm2cjXG8sXxJleTjl0uNK%2Fimage.png?alt=media&amp;token=4bdb9220-c25c-40b3-9036-b80dc427595a" alt=""><figcaption></figcaption></figure></div>
* After validating the email, a request is sent to the approver’s email defined in the app config. The requester (**portal user**) will receive another email confirming the sign-up after the approver has approved the user.

{% hint style="info" %}
**Please Note:** If the existing email (main email) is used for registering the user, the system will update the customer as a portal user. On the other hand, ***if the email provided for portal login doesn’t match the main email of any customer, a new customer will be created in the system with the details provided.***&#x20;
{% endhint %}

### Creating Multiple Accounts for Portal Users

You can create multiple portal accounts for the same customer by using the **Multi Account** option during portal registration. Each user can have their own login credentials while being associated with the same customer account.

Follow the steps below to create multiple portal accounts:

1. Copy the **presentation link** provided in the campaign and open it in an **Incognito window**.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FaVuj9HIjcu6tHdBYyhRc%2Fimage.png?alt=media&amp;token=ab9adff6-7620-4e9f-b2d4-73c1a9de28c2" alt=""><figcaption></figcaption></figure>

2. Enter the new **email address** you want to register and click **Sign In**.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FuQrT7zRQ6u9MwRFtIk8z%2Fimage.png?alt=media&amp;token=70d7affb-8e3c-453f-bee5-5f140db9121c" alt=""><figcaption></figcaption></figure>

3. On the registration page, enter the **name** and **password** for the user you want to associate with the existing B2B portal user.
4. Select the **Multi Account** checkbox. A **Customer Number** field appears. Enter the **Customer Number** associated with the existing portal user. Click **Register**.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2F54OJAqafcDiTknLjtp1q%2Fimage.png?alt=media&amp;token=0e16b106-b300-4ff6-b07f-8ae2a63a3e86" alt=""><figcaption></figcaption></figure>

You can view the **Customer Number** in the **Customer Centre** under the **Customer Number** column.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FEQwUAACjyaGIW7XlNuwo%2Fimage.png?alt=media&amp;token=797b4af2-5414-4102-93e5-728c28a56dce" alt=""><figcaption></figcaption></figure>

5. A verification email is sent to the newly registered user's email address. Follow the instructions in the email to verify the account.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2F2KuLtWpMiWOmdd737PAA%2Fimage.png?alt=media&amp;token=6e6cb3f8-774a-4a31-b8c4-90399e01ac07" alt=""><figcaption></figcaption></figure>

6. Once the account is verified, the new user can access the portal using their registered credentials.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FIVoylr7OtwxmnTvljfRa%2Fimage.png?alt=media&amp;token=8502d9a1-7769-4eaf-910f-b8627328b435" alt=""><figcaption></figcaption></figure>

7. The newly created user is also visible in the **Portal User Centre** under the same **Customer** name as the existing portal user whose **Customer Number** was used for the association.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FZVMiITl8dhxEDk01rAd2%2Fimage.png?alt=media&amp;token=31dbb446-ad7e-4d87-99ee-ad32ab78d378" alt=""><figcaption></figcaption></figure>

### Updating the Portal Email using the existing Portal Login

In scenarios where the user's email has changed, you also have the option to update/change the portal email. There are two ways to update the portal email:

#### Updating the portal email from the Customer Portal

To update the portal email from the Customer Portal, follow the steps below:

* Log in to the Customer Portal and navigate to the "My Profile" module.
* Here, scroll down and click on the "Pencil" icon beside the Account Email.<br>

  <figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FugfaECXheUUIZVjaep1c%2Fimage.png?alt=media&amp;token=3454dfa1-6d46-4fa9-9c46-d356b4022380" alt=""><figcaption></figcaption></figure>
* A popup will open to change the email. Enter the Old Portal Email, Password, and New Email, and click "Change E-Mail".

<div align="left"><figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FzkmQr7O5xgTEWQZY9jGz%2Fimage.png?alt=media&amp;token=c584ff3c-759b-4b24-98b0-9f4ef4e49214" alt=""><figcaption></figcaption></figure></div>

* The user will receive a confirmation email on the new email address to verify the email change request.<br>

  <div align="left"><figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FeX6A4MKqvwIsaiFydFdo%2Fimage.png?alt=media&amp;token=e802beb6-3896-41cc-9d95-c39c0b608d88" alt=""><figcaption></figcaption></figure></div>
* After verification, the Portal Email will be updated.<br>

  <figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2Ffg3hJJobyFZEFFxTiPjH%2Fimage.png?alt=media&amp;token=2b830140-df3c-4cce-bed9-5f7526437417" alt=""><figcaption></figcaption></figure>

### Updating the portal email from the Customer module

To update the portal email from the customer module, follow the steps below:

* Open the customer and uncheck the “Is Portal User?” column and “Update” the customer.
* After the changes are saved, update the email. (Please note that the portal invitation is sent to the main email.)
* Then, go to the “Portal” tab again and check the “Is Portal User?” column and “Update” the customer.
* Then, go to Options >> Send Portal Invitation.
* The customer will receive the portal invitation at the updated email address.

Once the Portal Invitation is received by the customer, they have to follow the steps below:

* Open the email and click on “Register”.
* You will be redirected to the portal login page. Enter the email address and password here and click on “Register”.
* An email will be sent to the portal user for verification.
* Open the email and click on “Verify Email” to activate the portal account and ultimately change the portal email.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.xorosoft.com/xoroerp-1/b2b/b2b-portal-account-login.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
