---
schema_version: "1"
id: 838135a38b62f28bf4df6343719a4dac87fabcb139aaa8f97b35305e46cdc51d
title: Einstein Next Best Action Component
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/nba_lab_cmp.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.nba_lab_cmp.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 61bfb81cac16c31155fc0c3268fc0d12adfbe26cda6566abc7638aeb2c3bb220
description: Einstein Next Best Action uses strategies that apply your org’s business rules to display context-sensitive suggested offers and actions on your Lightning record pages.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Einstein Next Best Action Component

Einstein Next Best Action uses strategies that apply your org’s business rules to display context-sensitive suggested offers and actions on your Lightning record pages.

### 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=platform.nba_ref_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the editions and user interfaces that support Next Best Action.">View supported editions for Next Best Action</a>.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d355141e60">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="" id="nba_lab_cmp__d6040e289">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e60 ">To create and save Lightning pages in the Lightning App Builder:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e60 ">Customize Application</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e60 ">To run a recommendation strategy on a Lightning record page:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e60 ">
              <p>Run Flows</p>
              <p>OR</p>
              <p>Flow User field enabled on the user detail
                page</p>
              <p>OR</p>
              <p style="margin-bottom:0;">For Experience Cloud, the FlowSites perm provides org-wide
                access. To restrict access to users by profile or permission set, add a component
                visibility filter to the Suggested Actions component.</p>
            </td>

          </tr>
        </tbody>
      </table>

- Create a recommendation strategy in Flow Builder.
- Drag the Einstein Next Best Action component onto your record page.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)
    
    Note In Experience Builder, the component is called Suggested Actions.
- In the property editor, select the strategy you want to display (1). Enter the maximum number of recommendations to display (2) and choose where recommendations open when accepted (3).
    
    ![Einstein Next Best Action component properties](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/platform_automation/images/next_best_action/einstein_next_best_action_header_properties.png)
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col style="width:61.42131979695431%">
              <col style="width:38.578680203045685%">
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d355141e120">Component</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d355141e122">Description</th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Component" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e120 ">Title</td>
                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e122 ">Displays the title for the component on the Record page.</td>
              </tr>
              <tr class="">
                <td data-label="Component" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e120 ">Hide Einstein Header</td>
                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e122 ">Hides the Einstein Recommendations graphical header.</td>
              </tr>
              <tr class="">
                <td data-label="Component" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e120 ">Strategy</td>
                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e122 ">Displays all available strategies created in Flow Builder.</td>
              </tr>
              <tr class="">
                <td data-label="Component" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e120 ">Maximum Recommendations Displayed</td>
                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e122 ">Displays up to four recommendations.</td>
              </tr>
              <tr class="">
                <td data-label="Component" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e120 ">Hide Empty Component</td>
                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e122 ">Displays the component only when there are recommendations available
                  initially.</td>
              </tr>
              <tr class="">
                <td data-label="Component" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e120 ">Launch Recommended Action In</td>
                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e122 ">Specifies whether recommendations open in a display window or a new browser
                  window.</td>
              </tr>
              <tr class="">
                <td data-label="Component" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e120 ">Show Image</td>
                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e122 ">Shows images associated with each displayed recommendation. If there isn’t an
                  image, a placeholder displays.</td>
              </tr>
              <tr class="">
                <td data-label="Component" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e120 ">Show Description</td>
                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e122 ">
                  <p>Displays the recommendation descriptions.</p>
                  <p style="margin-bottom:0;">To see the full text of longer messages, adjust
                    the browser's zoom percentage.</p>
                </td>
              </tr>
              <tr class="">
                <td data-label="Component" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e120 ">Show Reject Option</td>
                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e122 ">Displays the reject option.</td>
              </tr>
              <tr class="">
                <td data-label="Component" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e120 ">Set Component Visibility</td>
                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d355141e122 ">Allows <a href="https://help.salesforce.com/s/articleView?id=platform.lightning_page_components_visibility.htm&amp;language=en_US" target="_blank">Dynamic Lightning Pages</a> by adding filter conditions and logic to the
                  component properties in the Lightning App Builder.</td>
              </tr>
            </tbody>
          </table>

Here’s how a strategy looks with the Einstein header and no images in the Service console:

![Screenshot of a record page with Einstein recommendations.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/platform_automation/images/next_best_action/einstein_next_best_action_console.png)