# iREC 7 Demo UI Guide

Following are the steps to run iREC 7 Policy.

1. We need to import the policy by using two steps : Either by importing the `IRec Policy 7 split documents (1707130249.448431277).policy` or through IPFS by entering the timestamp of the policy : 1707130249.448431277.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-bb3d318212ccf7544a0dfd4bac53c1cb0d2f8f3c%2FiREC_7_1.png?alt=media" alt=""><figcaption></figcaption></figure>

2\. Once it is selected, we can also preview the policy before importing it. To import, click on Import button as shown below:

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-490204d8afdf67c2702b436fda2b954b25b5ac0f%2FiREC_7_2.png?alt=media" alt=""><figcaption></figcaption></figure>

3\. Once imported, we can either run the policy in Dry run mode or we can publish it by clicking on publish button from the dropdown. For testing purpose, we will publish the policy.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-4afa0be431ffccf1b43f4c9be7e5ede218774114%2FiREC_7_3.png?alt=media" alt=""><figcaption><p>We will publish the policy now.</p></figcaption></figure>

4\. Once the policy is published, we will logout and login as Registrant.Once we login as Registrant, we will setup Registrant role by selecting Standard Registry from the dropdown, generating Operator ID and Operator Key as shown below:

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-f8cd50b21cc84a4d2ea6e6326bc78f2e673d4f92%2FiREC_5.5.png?alt=media&#x26;token=43a071f6-d624-4998-962d-14351a508033" alt=""><figcaption></figcaption></figure>

5\. Then, we need select Registrant role from the drop down and fill the Registrant application and submit it for approval from Standard Registry:

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-4add32155c7d39075a4daa2e8f1396be58eec664%2FiREC_7_5.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-91f204bee34f2748eef6417ca8f4821afb6d7992%2FiREC_7_6.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-6daaeaa6cca32ccbd1ffe80e958aa0ba251bbae6%2FiREC_7_7.png?alt=media" alt=""><figcaption></figcaption></figure>

6\. Now, we login as Standard Registry and approve the Registrant role by clicking on Approve button:

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-d27b662a9605363aa90cce375cc0e43584d9e3f4%2FiREC_%26_10%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

7\. Once approved, we logout as Standard Registry and login as Registrant. As a registrant, we register device by entering all the device details.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-61b36bad170d2bb14e6a03bbb5087e8e00a7683f%2FiREC_7_11.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-5ad6235830daad6b78178f585d9d509a847ab3be%2FiREC_7_12.png?alt=media" alt=""><figcaption></figcaption></figure>

Once device details are entered, they are submitted for approval.

8\. We log back in as SD and after checking the device details, we can either approve/reject the device. We approve the device for now.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-096ccce6f5a2c123987850430a54a2f267a36703%2FiREC_7_14.png?alt=media" alt=""><figcaption></figcaption></figure>

9\. Once device is approved, we log back in as Registrant and click on Create Issue Request as shown below:

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-3bb78ae22a219b969266078a007b6bc4a2199ac6%2FiREC_7_15.png?alt=media" alt=""><figcaption></figcaption></figure>

10\. Registrant fills the Issue Request form and submits it for approval.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-ee4d6778a57a12d6fb847896782688ccd793c357%2FiREC_7_16.png?alt=media" alt=""><figcaption></figcaption></figure>

11\. We login as SD and view the Issue Request and approve it by clicking on approve button. Once Issue request is approved, tokens are minted if the MRV data is more than 1000 KW as it is the threshold for splitting the data into chunks.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-70523b9bb072a33b1a022bd51012adb472175a69%2FiREC_7_17.png?alt=media&#x26;token=7c337b8e-a7d3-44e2-95b0-1f7ea07c20c9" alt=""><figcaption></figcaption></figure>

12\. We can check the Tokens minting status and Trustchain in Token History tab of Standard Registry:

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-aef64b757020ed4ac90d6798a4081c8561167fde%2Fimage%20(1)%20(6).png?alt=media" alt=""><figcaption></figcaption></figure>

13\. To view the trustchain, we need to click on View Trustchain in Token History tab or Trustchain tab.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-2efcff582904796259552c8dcd68c0e4ac776a33%2Fimage%20(1)%20(9).png?alt=media" alt=""><figcaption></figcaption></figure>
