Walkthrough: Getting started with JSS for React

Current version: 20.x

This walkthrough describes how to create and run your first JSS React application.

Before you can create and run an application with JSS for React, you must first:

This walkthrough describes how to:

  • Create the application.

  • Run the application.

Create the application

To create an application with JSS for React:

  • Run the following command:

    npx create-sitecore-jss@ver20 react [--appName <your-app-name> --fetchWith [REST| GraphQL]]

    If choosing GraphQL, your application must be connected to Sitecore. GraphQL requests are not supported in disconnected mode.

Run the application

To start your application, run one of the following scripts in a terminal, depending on your chosen development workflow:


You can find script definitions in the package.json file of your new JSS application.

Do you have some feedback for us?

If you have suggestions for improving this article,