Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 600713d

Browse files
committed
Adding topic about headless implementation
1 parent 373ca88 commit 600713d

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

src/_data/toc/product-recommendations.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ pages:
3232
url: /recommendations/customize.html
3333
versionless: true
3434

35+
- label: Integrate Product Recommendations into your Headless Storefront
36+
url: /recommendations/headless.html
37+
versionless: true
38+
3539
- label: Recommendations SDK
3640
url: /recommendations/recs-api.html
3741
versionless: true

src/recommendations/headless.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
group: product-recommendations
3+
title: Integrate Product Recommendations into your Headless Storefront
4+
ee_only: True
5+
---
6+
7+
You can integrate Product Recommendations in a headless storefront using either PWA Studio or another frontend application, such as Next.js.
8+
9+
In the context of PWA Studio, the storefront is the frontend application and Adobe Commerce is the connected backend service. PWA Studio uses the Commerce GraphQL and REST services to send or request data. If using another headless storefront, you use the Commerce Storefront SDKs to send or request data. These SDKs allow you to control the storefront event publishing, collecting, and fetching.
10+
11+
1. [Install the Product Recommendations]({{ page.baseurl }}/recommendations/install-configure.html) module.
12+
13+
1. Install and use the [Storefront Events SDK]({{ page.baseurl }}/shared-services/storefront-events-sdk.html) to trigger the behavioral events.
14+
15+
1. Install and use the [Storefront Events Collector]({{ page.baseurl }}/shared-services/storefront-event-collector.html) to send those events to Adobe Sensei.
16+
17+
1. [Create Product Recommendations](https://docs.magento.com/user-guide/marketing/create-new-rec.html) in the Commerce Admin.
18+
19+
1. Install and use the [Recommendations SDK]({{ page.baseurl }}/recommendations/recs-api.html) to fetch the recommendation units on the storefront.

0 commit comments

Comments
 (0)