
How Sitecore Content SDK Fits into a Headless Sitecore Architecture
Sitecore's history of headless development has had a number of phases. JSS started out the process of decoupling the front end, but because JSS was developed in such a way that allowed it to be used across multiple platforms and legacy features simultaneously, it carried around unnecessary weight for most applications. This brings us to Content SDK, the latest phase in Sitecore's journey toward headless development, and the toolkit specifically made for SitecoreAI (formerly called XM Cloud), along with its content delivery layer Experience Edge.
As a developer who has worked with JSS or who is starting out with a Sitecore application, knowing the role of Content SDK in this architecture and what it replaces makes everything else clearer.
Here is how it all works.
Where Content SDK Sits in the Stack
Think of a headless Sitecore setup as three layers stacked on top of each other. Content SDK provides the JavaScript and Next.js integration layer between Experience Edge and the front-end application.
- Content layer: The site core ai is where your content and personalization rules will be kept
- Delivery layer: This is done via Experience Edge, which serves as an API for your front end to access your content via GraphQL
- Presentation layer: The Next.js app renders the UI using the Content SDK to pull data and render components
The Content SDK does not replace Experience Edge or your front-end framework; rather, it connects you to both of these services.
From JSS to Content SDK
If your team has shipped JSS apps before, this is the shift worth understanding.
- JSS was built to support both older Sitecore platforms and XM Cloud, so every app carried dependencies for features it might never use, like Experience Editor chromes
- Content SDK strips that down to only what SitecoreAI needs, which means smaller starter templates and less time spent figuring out which packages actually apply to your project
- Naming conventions and folder structures are cleaner, so ramping up a new developer takes less hand-holding
- XM Cloud Pages support is built in from the start instead of bolted on through extra configuration
- Existing JSS apps aren't stranded, Sitecore has published migration paths for teams moving over
The net effect: less boilerplate, fewer decisions to second-guess, and a codebase that's easier to hand off between developers.
How Content Actually Gets Delivered
Under the hood, Content SDK leans entirely on GraphQL to move content from SitecoreAI into your app.
- Experience Edge is the single delivery endpoint, handling both static publishing and runtime content requests
- Layout data, dictionary data, and component data pass through the same GraphQL query structure, and hence there’s only one mental model and not many
- Additionally, there is support for getting data from Sitecore services or external third-party APIs that also have their GraphQL endpoint, in case you are combining multiple sources to build your application
- Preview and live endpoints are managed in the same way through configuration, and switching from draft to live content does not need any changes in your data access logic
For a developer, this mostly means one thing: you're not juggling multiple API patterns depending on what kind of content you're pulling.
Capabilities That Used to Take Extra Work
A lot of what used to be custom-built or bolted on is now part of the SDK itself.
- Personalization and A/B testing are available without wiring up separate services
- Multi-site support is built in, which matters the moment a project grows past a single brand or region
- Analytics integration comes ready to connect rather than requiring a separate tracking layer
- Component mapping is explicit, you register which front-end component corresponds to which Sitecore rendering, which keeps large component libraries organized as they grow
- Middleware utilities handle routing and redirect in a consistent way instead of every team inventing its own pattern
None of this is groundbreaking on its own, but having it included by default cuts down on the "which library do we use for this" conversations that slow projects down early.
What This Means for Your Architecture Decisions
A few practical implications worth knowing before you start a build.
- App Router support is available (currently rolling out to full stability), so new Next.js projects can plan around it rather than defaulting to Pages Router out of habit
- Rendering strategy is still your call, SSR and SSG are both supported, so the SDK doesn't force an architecture decision on you
- Debug logging is built in, which helps when you're troubleshooting content-fetching issues instead of adding your own logging wrapper
- Because the SDK is purpose-built for SitecoreAI, it's not the right choice if you're still supporting an older Sitecore platform alongside it, that's still JSS territory
Best Practices for Working with Content SDK
- Start from the official Next.js starter template rather than porting an old JSS app structure over, the two aren't organized the same way
- Register components explicitly and keep that mapping file easy to scan; it becomes the map of your entire front end as the project grows
- Use the preview and live GraphQL endpoints deliberately, don't let draft content leak into a production build by pointing at the wrong one
- Lean on the built-in personalization and multi-site features before reaching for a custom solution; they cover more cases than they get credit for
- Keep an eye on App Router's beta status if you're building something time-sensitive, and test thoroughly before committing to it in production
- If migrating from JSS, budget real time for the migration guide, the payoff in a leaner codebase is worth it, but it's not a drop-in swap
Wrapping Up
Content SDK brings a more focused development model for SitecoreAI applications, with the tooling and integrations modern headless projects need. JSS did its job for years, but it carried the weight of supporting platforms and features that most modern projects didn't need. Content SDK strips that down to exactly what a SitecoreAI-based front end requires: a clear connection to Experience Edge, a consistent GraphQL pattern, and the personalization and multi-site tools most teams end up needing anyway.
This means that instead of spending time figuring out what the important dependencies are, developers will be able to spend more time coding. If developers are starting a new SitecoreAI project, or evaluating a migration from JSS, then knowing how the Content SDK fits into the stack, being the layer between Experience Edge and Next.js application, will make all other architectural decisions easier.
If your team is planning a SitecoreAI build or weighing a move off JSS, it's worth mapping out the migration before committing engineering time to it. Get in touch with Arroact at Arroact to talk through what that looks like for your project.
Related Blogs

A practical guide to understanding the August 2026 security releases, deciding what needs…
Read More
Composable Sitecore hands you a lot of freedom. XM Cloud doesn't force you into one…
Read More
If you've worked with XM Cloud for a while, you already know how much happens behind the…
Read More