Salesforce Dictionary - Free Salesforce GlossarySalesforce Dictionary
Full Einstein Next Best Action entry
How-to guide

Setting up Einstein Next Best Action

Setting up NBA is a Setup workflow: enable the feature, create Recommendation records, build a Strategy in Strategy Builder, drop the Lightning component on a record page, and iterate based on accept/reject feedback.

By Dipojjal Chakrabarti · Founder & Editor, Salesforce DictionaryLast updated May 16, 2026

Setting up NBA is a Setup workflow: enable the feature, create Recommendation records, build a Strategy in Strategy Builder, drop the Lightning component on a record page, and iterate based on accept/reject feedback.

  1. Enable Einstein Next Best Action

    Setup, Einstein Next Best Action, Enable. The feature requires a Salesforce license that includes NBA (most enterprise editions).

  2. Create Recommendation records

    App Launcher, Recommendations, New. For each possible action, create a Recommendation with Name, Description, Image, and Action (Flow, URL, or record creation). Build 5 to 10 to start.

  3. Open Strategy Builder

    Setup, Strategy Builder. Click New Strategy. The visual canvas opens. Pick the context object (Case, Account, Opportunity).

  4. Build the strategy logic

    Add Load nodes to pull eligible Recommendations. Add Filter nodes to narrow by criteria. Add Sort and Limit nodes to rank and cap. Optionally add Predict nodes to call Einstein Discovery.

  5. Activate the strategy

    Click Activate on the strategy. The strategy becomes available for the Lightning component.

  6. Add the Einstein NBA component to a Lightning page

    Lightning App Builder, edit the record page, drag Einstein Next Best Action from the Standard components. Configure the Strategy reference. Save.

  7. Train users and monitor accept/reject feedback

    Brief the user team on what the recommendations mean. Monitor the AcceptedRecommendation and RejectedRecommendation reports to tune the strategy over time.

Recommendationremember

The individual action suggestion record with Name, Description, Image, and Action (Flow, URL, record creation).

Strategyremember

The branching logic that selects eligible Recommendations for a context. Built in Strategy Builder.

Strategy Builderremember

The visual canvas where strategies are designed with Load, Filter, Branch, Sort, Limit nodes.

Einstein Discovery integrationremember

Optional Predict node that calls an Einstein Discovery model for AI-driven ranking.

Einstein NBA Lightning componentremember

The user-facing widget rendered on record pages through Lightning App Builder.

Accept/Reject feedbackremember

User action telemetry that feeds back into strategy suppression and Einstein Discovery model retraining.

Gotchas
  • NBA requires specific licensing. Check the Salesforce edition before scoping the project. Not every edition includes the feature.
  • Strategies activated in production cannot be edited; you have to clone and create a new version. Plan the workflow to avoid mid-quarter changes.
  • Einstein Discovery predictions require a trained model on the right historical data. Without data, the predictions are not useful and a rules-only strategy is more honest.
  • The Einstein NBA component refreshes on record changes. Strategies that perform expensive operations (multiple Apex calls, large SOQL queries) slow record page load.
  • The accept/reject feedback loop only improves quality if recommendations are actually relevant to the user. Bad initial recommendations train the model on noise.

See the full Einstein Next Best Action entry

Einstein Next Best Action includes the definition, worked example, deep dive, related terms, and a quiz.