Skip to main content
About the Resource Center

Create Access Policies

You can create a new access policy from scratch by using the Create Policy option or use an available Genesys Cloud designed prebuilt policy template, edit it, and save it as a policy.

Create an access policy from a prebuilt template

To create an access policy from an existing policy template, do the following: 

  1. Click Admin.
  2. Under People & Permissions, click Access Policies.
  3. Click Menu > User Management > Access Policies.
  4. Click Templates.
  5. Select an existing template. Currently, Genesys Cloud provides the following access policy templates for you to get started:
  6. Click the policy template based on your requirement. The template details appear.
  7. Edit the policy name and description.
  8. Modify the domain, entity, and action fields if you’re specifying a different target for the policy.
  9. (Optional) Allow the policy to be enabled immediately by toggling the Enable Policy option. You can also enable a policy later by editing the policy. For more information, see Enable Access Policy
  10. Modify the subject, effect, and condition sections in the Policy JSON, if necessary, to meet your organizational needs.
    Note:
  11. To validate the JSON syntax, click Validate Syntax in the Validate Syntax tab. Resolve any syntactical errors, and proceed with saving the policy. In case you don’t validate syntax explicitly, Genesys Cloud automatically validates syntax when you save the policy. The syntax validation step validates the following: 
    • Whether the mandatory fields are available.
    • The listed attributes are valid for the specified target.
    • All attribute comparisons are valid for their respective data types.
    • Any preset attribute names don’t conflict with the ones defined in the system.
  12. Click Save as Policy
  13. To verify if the policy works as expected, click the Test Policy tab and provide sample data and click Test Policy.
  14. To go back to the policies page, click Cancel.

Sample prebuilt templates

Currently, Genesys Cloud includes the following access policy templates:

Create an access policy using the Create Policy feature

To create an access policy from scratch, do the following:

  1. Click Admin.
  2. Under People & Permissions, click Access Policies.
  3. Click Menu > User Management > Access Policies.
  4. Click Create Policy.
  5. Enter the policy name and description.
  6. Specify the domain, entity, and action fields based on your policy requirements. You can refer the prebuilt templates for creating your own policy. 
  7. (Optional) Allow the policy to be enabled immediately by toggling the Enable Policy option. You can enable a policy later by editing the policy. For more information, see Enable Access Policy
  8. Define the subject, effect, and condition sections in the Policy JSON based on your organizational needs.
    Note:
  9. To validate the JSON syntax, click Validate Syntax in the Validate Syntax tab. Resolve any syntactical errors, and proceed with saving the policy. In case you don’t validate syntax explicitly, Genesys Cloud automatically validates syntax when you save the policy. The syntax validation step validates the following:
    • Whether the mandatory fields are available.
    • The listed attributes are valid for the specified target.
    • All attribute comparisons are valid for their respective data types.
    • Any preset attribute names don’t conflict with ones defined in the system.
  10. Click Save
  11. To verify if the policy works as expected, click the Test Policy tab and provide sample data and click Test Policy.
  12. To go back to the policies page, click Cancel.