Last reviewed: April 25, 2025

Creating a new FES site for Content Publisher testing


Note: Pantheon Front End Sites are not available to new customers and are still experimental.

Setting up your repositories

  1. Use the Content Publisher CLI to initialize the starter kit on your local machine.
  2. Create a new repository on Github leaving the license, README and .gitignore sections unselected for an empty repository. Take note of git SSH URI for use in step 3.
  3. Change your local directory to the starter kit that you initialized and enter the following commands to push the starter kit to Github

git init

git add --all

git commit -m "first commit"

git branch -M main

git remote add origin [your repo URI]

git push -u origin main

  4. Connect your Github repository to FES

Configuring Pantheon Content Publisher

  1. Use the PCC CLI on your local machine to register a new site and token using the domain that was given to your FES site (typically, live-[sitename].appa.pantheon.site)
  2. Set Environment Variables (PCC_SITE_ID and PCC_TOKEN)  for the site id and token you just created.
  3. Trigger a new build from the Pantheon Dashboard.
  4. Update the URL of the site using the CLI.

Connecting Google Docs

  1. Install the Google Docs Add-on and connect the document to the site you just created.

Note that the site will show up in the Add-on ONLY after it has been successfully configured and deployed from the Pantheon Dashboard.