Sitecore JavaScript Services SDK (JSS) for SitecoreAI
The JavaScript Services SDK (JSS) enables developers to integrate SitecoreAI content with their front-end JavaScript applications. JSS includes APIs and services that fetch SitecoreAI data and uses it to build and deliver pages to site visitors using a JavaScript framework. It also provides seamless integration with other Sitecore products such as Personalize.
With JSS you can develop apps locally, quickly creating bespoke components before pushing your changes back to SitecoreAI so that marketers can use the latest components to build their customer experiences. You can test changes before publishing them by connecting your local host to the SitecoreAI Pages visual editor and fetching the latest data from your remote instance.
Using a starter kit template, you can immediately generate a new JSS app that you can customize to suit your business needs.
Sitecore JavaScript Services (JSS) SDK 22.x for SitecoreAI is in maintenance mode until June 2026. After this date, it will be deprecated. JSS 22.x will not receive new features or enhancements and will only receive critical bug fixes, dependency updates, and security patches during maintenance.
All new projects must use the Content SDK, which is the recommended and actively supported SDK for Sitecore development. Existing JSS 22.x applications should upgrade to Content SDK to remain on a supported path.
JSS is an open-source SDK under Apache 2.0 license. You are welcome to submit contributions to the public JSS repo via pull requests. The changelog lists updates grouped by version in chronological order, with unreleased changes at the top.
Key features
-
Integration with SitecoreAI Pages for visual editing and testing of components.
-
JavaScript starter templates for rapid integration and delivery.
-
Personalization and component A/B/n testing integration with no custom coding required, allowing you to easily deploy multiple variants of a page to different audience categories (such as time zone or language), and test component variants among percentages of your total site visitors.
-
Multi-site support for environments serving multiple independent sites.
-
GraphQL utilities for common API queries to fetch content, presentation (layout) data, and other specialized Sitecore data such as site information and dictionaries.
-
Analytics and event tracking support out of the box using the Sitecore Cloud SDK.
-
Framework-specific capabilities, such as Next.js locale-based routing for internationalization, and rendering methods like server-side rendering (SSR) and static site generation (SSG).
How to get started
This documentation contains everything you need to get started building and configuring a JSS application, including:
-
A comprehensive getting started guide, including prerequisites and how to connect your JSS app with SitecoreAI.
-
An architectural overview to help you understand how the various parts of JSS integrate with other technologies.
-
Developer guides that explain common JSS use cases.
-
Migration and upgrade guides for developers with existing JSS apps.
Take a look at the table of contents for a full overview.