---
schema_version: "1"
id: 45dd0c0f59d4e3ba26d2725308dee6dae3bafea11f5b1920ec841d8aa698651e
title: Configure an Einstein Next Best Action Component for a Commerce Reorder Portal
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_configure_reorder_nba.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_configure_reorder_nba.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1eb5777079a3e0ac7e152f9fd14e9ba4a98baee6ee4f7e8e5da6c7b95fd29f4c
description: After you set up a Commerce Reorder Portal, configure an Einstein Next Best Action component on the Order record page. Based on a recommendation from this component, a rep can invite a buyer to the portal.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# Configure an Einstein Next Best Action Component for a Commerce Reorder Portal

After you set up a Commerce Reorder Portal, configure an Einstein Next Best Action component on the Order record page. Based on a recommendation from this component, a rep can invite a buyer to the portal.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=commerce.comm_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

[Which Salesforce Commerce Product Do I Have?](https://help.salesforce.com/s/articleView?id=commerce.comm_what_product.htm&language=en_US)

1. Add the [Einstein Next Best Action component](https://help.salesforce.com/s/articleView?id=platform.nba_lab_cmp.htm&type=5&language=en_US) to the Order record page.
    1. In the App Launcher, find and select **Orders**.
    2. Open an Order record.
    3. Click the Setup icon ![Setup](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-comm-264-0-0-production-enus/d863e308-482a-4dfa-8d20-2a94737d394a/resources-global/_corporate/images/gear.png) at the top of the page, and then select **Edit Page**.
    4. From the Components menu, drag the Einstein Next Best Action component onto the Order Record Page layout in the Activity sidebar.
    5. Use the Order Recommend Reorder flow as Action Strategy input for the component.
    6. Click **Save**.
        
        ![Order Record Page with Einstein Next Best Action component configured in Lighting App Builder.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-comm-264-0-0-production-enus/d863e308-482a-4dfa-8d20-2a94737d394a/comm/images/comm_order_record_nba.png)
2. Enable any missing Field Level Security settings for Order.QuoteId, Order.ContractId, Order.CustomerAuthorizedBy, Quote.ContactId, and Contract.CustomerSignedId. See [Field Level Security](https://help.salesforce.com/s/articleView?id=platform.users_profiles_field_perms.htm&type=5&language=en_US).
3. Set External and Internal Organization-Wide Sharing Defaults to private for the Order Summary object.
4. Invite a buyer to a Commerce Reorder Portal using the Einstein Next Best Action component.
    1. Open an Order record.
    2. From the Einstein Next Best Action component, click **Invite to Reorder Portal**.
    3. Follow the screen flow steps.

#### See Also

- [B2B Store Setup Considerations](https://help.salesforce.com/s/articleView?id=commerce.comm_store_setup_considerations.htm&release=264.0.0&type=5 "The Commerce Setup Assistant and the Store Setup Assistant work together to create a guided path for store creation. This path is simplified to get you up and selling as fast as possible. However, you can customize a store for your specific needs by configuring locales, languages, and currencies. If you haven’t configured these before creating your store, only the default options configured for your Salesforce org show. You can update these values after creating your store.")