B2B expectations are changing in the market, and businesses are realizing that to be successful they need to match the digital experience of consumer-focused sites. However, there are the unique characteristics and complexities of B2B business operations that make this difficult:
Algolia has partnered with over 1,700 B2B companies, successfully guiding them into the modern digital era. Through the creation of consumer-like search experiences, they’ve improved customer satisfaction, driven higher conversions, and ultimately generated more revenue.
Salesforce has multiple clouds, from its original CRM to others like case management for a support system and the commerce cloud systems. There are 2 types of commerce systems within Salesforce. The first one is Salesforce Commerce Cloud (SFCC), which is a solution that used to be called Demandware. The other commerce solution is what Salesforce calls B2B / DTC Commerce, that has a B2B component, which is the focus of this article.
The B2B2C Commerce can be separated into B2C Commerce, B2B Commerce, and D2C Commerce and is different from the SFCC solution, it’s within Salesforce’s platform itself. This means it has the use of Products, Pricing and other solutions built into Salesforce. It has more flexibility to be able to be used as more of a B2B solution.
On top of this, Salesforce has a system called Lightning Web Runtime (LWR) that offers very fast performance on the storefront by compiling assets. This works well with Algolia, which is also blazing-fast, and can help with a complex B2B solution.
Algolia has a robust offering that connects to the Salesforce Core platform. It uses Salesforce’s own platform and components to put together an integration that:
The benefit of this integration is that it’s a low-code to no-code solution you can implement to your storefront and backend. Once it’s set up in the LWR pages, things will be lightning-fast and super easy for customers to use.
The Salesforce Accelerator has a backend component that can index the data that is configured via the settings app and send it in batches of 100 to Algolia. Since it uses Salesforce’s Batch and Job functionality, it can handle many thousands of records at once.
The Settings Application has 2 parts to it. The first part is the object and field mapping system to select what objects you want to use, and for each object, what fields. This is used to build the index as well as set up the templates. The second part is used to configure the InstantSearch and Autocomplete UI components.
The Salesforce Accelerator also has an LWC that takes the settings and displays items using a templating system and facet configuration to display items in a way that fits the customer’s needs.
There are several ways to extend the Salesforce Accelerator.
The backend indexing system can be extended by implementing an Apex interface that is called during the main indexing process. This allows for vast customization in the indexing process where you can customize how the data gets into Algolia.
The connector comes in different layers, where there is the base layer that can work in any Salesforce cloud environment. For example, if you want to index and use a custom CRM page that shows opportunities with accounts, it’s super easy and requires no code to get it done. There is also another layer that sits on top of the base layer that’s commerce specific. This one adds real-time indexing and captures images that are stored in Salesforce’s commerce backend. To customize further, it’s easy to extend either the base layer or the commerce layer to add even more customizations and special cases.
The InstantSearch component can also be extended at various points, and in fact, there are already extensions in the commerce layer that customize UI related functionality related to commerce, such as selecting a specific price point.
Integrating Algolia to Salesforce Lightning Web Components and indexing Salesforce data lets builders create no-code discovery experiences across all of their data.
Algolia consumes both event-driven or batched updates with speed at scale to support a large amount of products. Our experience and success has shown us that while technology alone will not solve this challenge, we do need the industry leading capacity and experts in partnership with your team to make this successful. Which is why Algolia’s success combines people, process, technology, and partnership.
This connector can build in-store experiences by combining commerce with the in-store availability. Apps today know to direct you to a shelf, inform your home store availability, and to tell you how close out of stock items are to you. But we know there are many technical moving parts which make an elegant solution hard. B2B and/or B2C can have very specific needs and use cases. The Salesforce Accelerator can be extended easily to be used for very specific use cases.
While it’s impossible to foresee any specific use cases for a customer’s needs, we feel that with the right tools in place, this Accelerator can be used to get to the right solution faster than if built up from scratch. From being able to manage a potential complex index to an extensible set of UI components, the solution can be used to leverage a complex B2B scenario.
Debanshi Bheda
Global Alliances Director - AlgoliaPeter Hale
Principle Partner EngineerPowered by Algolia AI Recommendations
Valeriia Pierzinski
Product Marketing Manager, AlgoliaMatthieu Blandineau
Sr. Product Marketing ManagerPeter Villani
Sr. Tech & Business Writer