Sign up for a P1 account at https://content.pantheon.io. (Get in touch with us; at this time, it is a private release, and we will need to manually provision access for you).
Create a Next.js Site With Our Starter Kit
Before you start, you need:
Node.js 24 or newer
pnpm, npm, or yarn
git, if you want the scaffolder to create a repository with an initial commit
On your local environment, initialize a site using our SDK starter:
pnpm create @pantheon-systems/p1-starter-kit
Answer the option questions from the CLI. For these instructions, choose pnpm if you have it installed.
If you choose yarn or npm, then use your package manager's equivalent of pnpm commands in the following steps (they might be done differently, not necessarily just replacing the word pnpm with yarn, for example).
Once the P1 content site is created, generate a token and get your ID
Choose the scope you want for that first token, typically “All content included draft” for a first use.
The token will only be shown once; save it to personal secrets or in a secure temporary place, or keep the modal open
Set Next.js Site Secrets
Set these secrets on your Pantheon Next.js site. Your localhost .env can omit the “P1_SITE_URL” (which serves as a redirect location after authentication)
At this stage, you should be able to test end-to-end P1 with a hosted site on Pantheon.
From there, you can deploy to a test or live environment if you wish, following our Next.js documentation. A live environment is required for any production use, especially to set your own domain name.