Step 1: Create your Yext Auth Policy secure to your Yext Site

  1. Navigate to the Admin Console.
  2. Click Add Resource and choose to add an authentication-policy resource under pages.
  3. Configure your resource to look like the following. This will signal to Sites that you would like to use Yext Auth to protect your page, meaning users will have to authenticate into the Site with their Yext credentials.

     // example-authentication-policy.json
     {
       "$id": "example-authentication-policy",
       "$schema": "https://schema.yext.com/config/pages/authentication-policy/v1",
       "name": "example-yext-policy",
       "authentication": {
         "yext": true
       }
     }
  4. You can choose any name of your choice but be sure to remember it for the next part.

    • See Optional Section below if you would like to add Secure API Tokens at this point
  5. Apply your resource to the account.

Feedback