# Demo on Policy Wizard using UI

1. [Step By Step Process](#id-1.-step-by-step-process)
2. [Demo Video](#id-2.-demo-video)

## 1. Step By Step Process

There are two ways to open Policy Wizard:

1. Click on Policy Wizard button from Policies Tab as shown below:

<figure><img src="/files/ZVsgB3h5ttVZT3VUFL1x" alt=""><figcaption></figcaption></figure>

2. Open from the Policy Configurator page:

<figure><img src="/files/sECSLnVlTjcnGY9Nt84D" alt=""><figcaption></figcaption></figure>

## 4 step process to complete Policy Wizard:

### Policy Description:

This step allows users to setup policy information such as name, description, policy tag and topic description.

<figure><img src="/files/mqWpZBIQIQWWBVZ8pX11" alt=""><figcaption></figcaption></figure>

### Policy Roles:

This step provides facilities to manage policy roles. Created Roles can be deleted by clicking on them.

{% hint style="info" %}
**Note:** Owner is the default policy role (Policy Owner) and cannot be deleted.
{% endhint %}

<figure><img src="/files/OpPCvqvlzoDvYmSK8vsq" alt=""><figcaption></figcaption></figure>

### 3. Policy Schemas

This step allows facilities to manage schemas in the policy by selecting schemas in the dropdown.

#### 3.1 {schema} configuration

<figure><img src="/files/Wa1pvU5KKeLRHhG9iuYB" alt=""><figcaption></figcaption></figure>

At this stage users set roles which are able to view the document grid. Additionally they can set the *produced schema* to configure *produced schema* creation based on the current schema.

**Relationship schema** defines documents which will be placed in the relationships in the current schema (after creation).

**Initial for roles** field defines which roles will see this schema (instead of displaying grid immediately) after role choosing.

If **Approve and Reject** and **Minting tokens** are set to *enable* the corresponding functions by this schema would be enabled. This additionally required to specify the token and the field in schema to be used in the minting rule.

{% hint style="info" %}
Note: We can select multiple schemas by entering the schemas names separated by a delimiter: ",".
{% endhint %}

<figure><img src="/files/6IqmzTwsBozZIq43pC74" alt=""><figcaption></figcaption></figure>

#### 3.1.1 {role} configuration

<figure><img src="/files/15853INcpUhCQGyITg5W" alt=""><figcaption></figcaption></figure>

This step allows:

1. To set *approver* (only if *Approve and Reject functionality* is enabled)
2. *creator* flags for the selected role.
3. Also allows to select *grid columns* (ordering is supported).

### 4. TrustChain

<figure><img src="/files/zwhr1y2oOR0ccOwK4KLn" alt=""><figcaption></figcaption></figure>

This step allows to set up users which are able to view grids with VPs and the grid with the trust chain.

#### 4.1. {role} configuration

<figure><img src="/files/qaYUHGqHdknrWrNl6D3a" alt=""><figcaption></figcaption></figure>

In this step, Users can choose a minting schema which will be displayed on the trust chain. Additionally, visibility for VPs can be configured to ‘only own ‘ (recommended for the roles other than OWNER) or to ‘all’.

## Save/Recovery Process

After the policy in the wizard is configured, users can click on ‘Create’ and thereby save the progress of the wizard configuration to be able to restore it later.

<figure><img src="/files/G2qUwHshIj0omnuvG0v1" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:**

1. If ‘Cancel' is clicked, then the wizard progress will be removed.
2. Progress will be automatically removed when policy is published.
   {% endhint %}

Next time, when the wizard is opened a dialog with the selector of wizard states would be displayed, where we can select respective policy and restore progress.

<figure><img src="/files/1ZgMHeqdBL4N06b1FDX2" alt=""><figcaption></figcaption></figure>

## 2. Demo Video

[Youtube](https://youtu.be/sJFfkQ49JnI?si=yPEwfZBA2eWwIkwu\&t=130)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guardian.hedera.com/guardian-dev/guardian/standard-registry/policies/policy-wizard/demo-on-policy-wizard-using-ui.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
