# Real-Time Policy Assignment

#### Configuring Policy Allowlist for Specific Tasks

Policies can be applied only to Tasks with specific attributes. For example, if there is a policy that should only apply to marketing tasks in California and New York, you can set the allowlist to include only those states.

To configure this:

1. Go to the Policy you wish to modify.
2. Edit the **Attribute Allowlist** section to specify the attributes that must be matched for the policy to apply. You can add both **Brands** and **Attributes** in this section

<figure><img src="https://2804394160-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD9Htw9DUg294GuYmAyyj%2Fuploads%2Fgit-blob-06ebf7f4fb7d66f730eaea797ff4c7cdf111c01c%2FScreenshot%202024-07-29%20at%2012.13.49%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>
