Step 1: Create your Yext Auth Policy secure to your Yext Site
- Navigate to the Admin Console.
- Click Add Resource and choose to add an authentication-policy resource under pages.
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 } }
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
Apply your resource to the account.
Feedback
<% elem.innerText %>