⟹ Team Solo
⟹ App Name: Personalize Connect
⟹ Best Marketplace App for Sitecore AI
Personalize Connect — A zero-code bridge between SitecoreAI components and Sitecore Personalize Full Stack Interactive Experiences.
- Module Purpose: Enable content editors to wire up Personalize decisioning to SitecoreAI components directly from the Page Builder — no developer required. The Marketplace app lets editors select a component, link it to a Personalize Interactive Experience, map content keys to datasources, and publish. The SDK handles runtime decisioning and content swapping automatically.
- Why not Web Experiences? Sitecore Personalize Web Experiences can personalize content, but they inject HTML via client-side JavaScript — causing visible flicker on page load and creating content governance problems. Content lives in Personalize rather than in SitecoreAI, so editors lose the structured authoring, workflow, and publishing controls they depend on. Web Experiences also bypass the component model entirely, making it difficult to maintain brand consistency and audit what's being shown.
- What problem was solved: Personalize Connect solves this by keeping content where it belongs — in SitecoreAI as structured datasources — while using the full power of Personalize Full Stack Interactive Experiences for 1:1 decisioning. The result is a cohesive flow: Personalize decides who sees what, SitecoreAI owns the content they see, and the Marketplace app wires them together with zero code. No flicker, no governance gaps, no content sprawl across systems.
- How this module solves it: Separates concerns cleanly: SitecoreAI owns content, Personalize owns decisioning, and the Marketplace app provides point-and-click wiring. The SDK reads config from the content tree, calls
POST /v2/callFlowsvia the Edge proxy, resolves the returnedcontentKeyto the correct datasource, fetches content via GraphQL, and re-renders the component. No per-component code or deployments for new experiences.
For detailed architecture, API contract, and SDK design, see docs/PERSONALIZE_CONNECT.md.
- SitecoreAI
- Sitecore Personalize tenant with Full Stack Interactive Experiences
- Personalize API credentials (API Key and Secret) — configured in the Marketplace app via Settings / ConnectWizard and stored in the Sitecore content tree; no environment variables required
- Install SDK package in the rendering host — Follow the SDK README
- Node.js 20+ and pnpm for the monorepo
-
Clone the repository and install dependencies:
git clone <repo-url> cd 2026-Team-Solo pnpm install
-
Build all packages:
pnpm run build
-
SDK: Add to your SitecoreAI rendering host (Next.js JSS or Content SDK app). Content SDK supports Page Router; App Router support coming soon.
pnpm add personalize-connect-sdk
Or from the local package:
pnpm add file:../packages/sdk
-
Wrap your app with
PersonalizeProviderand components withwithPersonalizeConnect(see Usage).
Want to try it in your own org? The repo is public — create your own custom app in App Studio and run it locally. See docs/beta-access.md for step-by-step instructions.
Personalize credentials are configured in the Marketplace app, not via environment variables. Use the Connect flow (first-time setup) or the Settings page to enter your Personalize API Key, Secret, and Region. Credentials are stored securely in the Sitecore content tree at {sitePath}/Settings/PersonalizeConnect/Credentials.
Rendering host (SDK): In SitecoreAI, the SDK uses the Edge proxy — pass sitecoreEdgeContextId and siteName to PersonalizeProvider. No Personalize API credentials are needed in the rendering host; the Edge proxy handles calls server-side using credentials stored in Sitecore.
Publishing: For personalization to work on the live site, all of the following must be published:
- The page — The page containing the personalized component (and its datasources)
- Data > PersonalizeConnect — The folder (per site) that stores configs and content key mappings (e.g.
config-*items) - Settings > PersonalizeConnect > Credentials — Where API credentials are stored
- The experience — The Full Stack Interactive Experience in Sitecore Personalize
In SitecoreAI Pages, open the Personalize Connect app from the sidebar. It lists components on the current page. Use the footer to access Settings (configure Personalize API credentials) and Docs (marketer-facing usage guide).
-
Connect credentials (first time): Use the Connect flow to enter your Personalize API Key, Secret, and Region. Use Settings in the footer to view or update credentials later.
-
Select the component to personalize (e.g., Promo Card).
-
Choose a Full Stack Interactive Experience from the dropdown (fetched from Personalize).
-
Define content keys and map each to an SitecoreAI datasource (e.g.,
"new-visitor"→ Welcome Offer,"returning-visitor"→ Loyalty Deal).
-
Save. Configuration is stored in the content tree and published with the page.
Create a Full Stack Interactive Experience in Sitecore Personalize with a single variant that outputs the content keys you defined in the Marketplace app. The experience must return JSON in this shape:
{ "contentKey": "<string>" }How you decide which content key to return is up to you — Decision Model, Decision Table, audience conditions, programmable logic, or anything else Personalize supports. The SDK only checks that the response contains a contentKey matching one of your mapped keys.
The API response must include a top-level contentKey property. Key naming in your Decision Model (snake_case, PascalCase, etc.) doesn't matter — your FreeMarker template maps whatever you output into that property.
Decision Table example
- Add a Decision Model to your experience.
- Add a Decision Table (e.g., "Content Key Resolver") with:
- Input column: a condition (e.g.,
session countwith keysession_count) - Output column: a string output (e.g., key
content_key— naming is up to you)
- Input column: a condition (e.g.,
- Add rules that map inputs to output values, e.g.:
session_count > 1→"returning-visitor"- (default/catch-all) →
"new-visitor"
- Use Predefined Values on the output to ensure you return exact strings that match the content keys you defined in the Marketplace app.
In the experience variant's API Response tab, use FreeMarker to read the Decision Model output. The template below reads the first Decision Table's output and returns it as contentKey (adjust the field name to match your Decision Table output):
<#if (decisionModelResults)?? && (decisionModelResults.decisionModelResultNodes)??>
<#list decisionModelResults.decisionModelResultNodes as result>
<#if result.type == "decisionTable" && (result.outputs)?? && (result.outputs?size > 0)>
{
"contentKey": "${result.outputs[0].content_key}"
}
</#if>
</#list>
<#else>
{
"contentKey": "default"
}
</#if>With the Decision Table above, this returns { "contentKey": "returning-visitor" }, { "contentKey": "new-visitor" }, or falls back to { "contentKey": "default" } if the Decision Model has no results.
Coming soon. Currently the SDK only reads
contentKeyfrom the experience response. Support for returning custom data alongside the content key (e.g., rendering parameters, promotional metadata) is planned for a future release.
For more details on the architecture and API contract, see docs/PERSONALIZE_CONNECT.md.
Note: Content SDK supports Page Router; App Router support coming soon.
// app/layout.tsx or _app.tsx
import { PersonalizeProvider } from "personalize-connect-sdk";
export default function RootLayout({ children }) {
return (
<PersonalizeProvider
sitecoreEdgeContextId={process.env.SITECORE_EDGE_CONTEXT_ID}
siteName={process.env.SITECORE_SITE_NAME}
>
{children}
</PersonalizeProvider>
);
}The SDK uses the SitecoreAI Edge proxy for Personalize calls and datasource resolution. Personalize credentials are configured in the Marketplace app and stored in Sitecore — no API keys needed in the rendering host.
// components/PromoCard.tsx
import { withPersonalizeConnect } from "personalize-connect-sdk";
const PromoCard = ({ fields }) => (
<div>
<h2>{fields.title.value}</h2>
<p>{fields.body.value}</p>
</div>
);
export default withPersonalizeConnect(PromoCard);The HOC looks up config from the content tree (loaded by the provider on mount), renders with the default datasource first, calls the experience asynchronously, and re-renders with personalized content when the response returns.
| Package | Description |
|---|---|
| packages/marketplace | Page Builder context panel (Next.js app) |
| packages/sdk | Runtime SDK (PersonalizeProvider, withPersonalizeConnect) |
pnpm install
pnpm run build
pnpm run dev # Starts marketplace app on :5555Thank you to the hackathon judges for your time and consideration.





