Displaying Next Best Action Recommendations In Different Environments
The most straightforward way to display NBA Recommendations is to drag the Next Best Action component from the palette of the App Builder onto a record page.
If you want to display recommendations in other places, here are your choices:
On Community Pages
This is straightforward. In Community Builder, the Next Best Action component is called “Suggested Actions”
Use Lightning Out
Lightning Out allows typical, unmodified lightning components to be placed in standard web pages. It provides a container that hosts the component. We typically recommend this approach for surfacing recommendations in Salesforce Classic via Visualforce pages, or on completely non-Salesforce web pages.
Get the Recommendations Via an API Call to Salesforce, and then Display Them Yourselves