---
title: "JSS and Sitecore Experience Edge for Experience Manager (XM)"
slug: "jss-and-sitecore-experience-edge-for-experience-manager--xm-"
abstract: "Describes integrating JSS apps with Sitecore Experience Edge for XM"
---
# JSS and Sitecore Experience Edge for Experience Manager (XM)

[Sitecore Experience Edge for Experience Manager (XM)](urn:resource:component:691962) is a highly scalable delivery platform for static publishing of Sitecore JSS sites and runtime content delivery for headless sites.

To use the Sitecore Experience Edge for XM content and layout delivery capabilities, you must create the JSS application with GraphQL support, by using the `--fetchWith GraphQL` option. Creating the JSS application with this option results in *all Sitecore layout and dictionary information* being fetched using GraphQL queries.

All JSS sample applications are configured to use Sitecore Experience Edge for XM for GraphQL integration. The endpoint for Sitecore Experience Edge for XM is configured in the JSS application's `package.json` file, in the `config.graphQLEndpointPath`. By default, the Edge delivery endpoint is `/sitecore/api/graph/edge`.

> [!important]
> You can not extend the [Edge GraphQL schema](https://doc.sitecore.com/xp/en/developers/hd/23/sitecore-headless-development/the-experience-edge-schema.html "The Experience Edge schema") itself, but the complete layout information is published to Sitecore Experience Edge for XM. As a result, you can [extend the layout data](https://doc.sitecore.com/xp/en/developers/hd/23/sitecore-headless-development/extending-the-layout-service.html "Extending the Layout Service") to meet your data needs.

If you chose REST services when you created your JSS application, you can switch from REST to GraphQL services by changing the JSS services you use in the application from `RestDictionaryService` and `RestLayoutService` to `GraphQLDictionaryService` and `GraphQLLayoutService`, respectively.

In addition to fetching data from the GraphQL endpoint, you can use Sitecore Experience Edge for XM to [server-side render your JSS application using a sample app](https://doc.sitecore.com/xp/en/developers/hd/23/sitecore-headless-development/server-side-render-jss-apps-headlessly-using-a-sitecore-experience-edge-endpoint.html "Server-side render JSS apps headlessly using a Sitecore Experience Edge endpoint").