Install Headless Services as a Web Deploy Package on Azure
This topic describes how to install Headless Services using a Web Deploy Package (WDP) and ARM templates in an Azure-hosted Sitecore instance.
To install Headless Services with a WDP and with ARM templates:
-
Download an officially released Sitecore Headless Services WDP matching the version of your rendering SDK version and Sitecore topology.
-
Download a matching ARM template for your rendering SDK version and topology.
-
Store both files at a publicly available location, such as Azure storage.
-
Prepare a file named
parameters.jsonwith the content similar to the following: -
Provision Headless Services using the following script:
-
If you are planning to deploy JavaScript applications, configure the Node.js version on Azure to the version you used in development. We recommend using the latest long-term support (LTS) version.
-
If you are planning to deploy JavaScript applications, to allow Headless Services to create content on the Sitecore instance, you must assign the correct security rights to the sitecore/JSS Import Service Users role:
-
In the content tree, click sitecore, Content.
-
Follow the instructions for assigning access rights specifically to an item and, for the sitecore/JSS Import Service Users role, assign Create rights to items and descendants.
-