Frequently Bought Together Overview
AddSearch's Frequently Bought Together (FBT) feature recommends sets of products or documents that users often purchase or view together. This can help you suggest related news articles, complementary products, or other grouped items.

How It Works
FBT relies on the FP-growth algorithm, a frequent-pattern mining method. It discovers frequently occurring itemsets efficiently by building a frequent pattern tree (FP-tree).
Setting Up Frequently Bought Together
-
Upload your data:
- Add your dataset via the AddSearch dashboard.
- Or push the dataset using the Indexing API.
- See Uploading FBT recommendation data for details.
-
Configure recommendations:
- Define how FBT recommendations should behave.
- Refer to Configuring FBT recommendations for configuration steps.
Implementing FBT Recommendations
You can integrate FBT recommendations using the AddSearch API or JavaScript libraries:
- Use the AddSearch API Get Recommendations endpoint to fetch FBT data.
- For JavaScript integration, use:
These tools allow you to display frequently bought together items seamlessly within your website or app.
For more details on each step, please refer to the linked documentation pages.