Installing Sitecore Headless Services
To use the Next.js SDK, you must install the Sitecore Headless Services module in the Sitecore environment.
The Sitecore Headless Services module provides APIs and configuration needed for the Next.js SDK, including the Layout Service, Sitecore GraphQL, the Dictionary Service, and the JSS Import Service.
The method of installing Sitecore Headless Services depends on your deployment architecture.
On-prem / Virtual Machine / IaaS
Install using the Headless Services package zip.
Azure Webapps / PaaS
Install using Headless Services WDP packages.
Sitecore Containers
Layer the Sitecore Headless Services module onto your container images in your Dockerfiles.