# Remote GHG Policy Demo Guide

### For Organizations to Create an Employer (Employer Admin User)

Typically, the way we start the demonstration is by logging in as a Standard Registry called "GHG Remote Work". Create a user named "GHG Remote Work."

You'll now be prompted to configure your GHG Remote Work account. Enter the details and then press the Generate button to generate a Hedera Operator ID and an Operator Key and enter the name of your Standard Registry. Press Connect when finished. This will now create Hedera Consensus Service Topics, fill the account with test hBar, create a DID document, create a Verifiable Credential, etc

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-8e07425c7975d854cec83614ee3a94f430513e8c%2FScreen%20Shot%202022-12-14%20at%201.22.01%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

Now we will be creating the Policy. We have three ways to "create policies." The first way is to actually create the policy from scratch. The second way is to import an existing policy; either the policy file itself or from IPFS. When you import a policy, all schemas and tokens that are required in the policy are automatically populated. To do this, you can find the policy file and the IPFS timestamp on the open-source Guardian policy page [here](https://github.com/hashgraph/guardian/tree/main/Demo%20Artifacts/iREC). For this demo guide, we will be using the 3rd way to create a policy, which is through the preloaded drop-down list.

Once it is selected, we can also preview the policy before importing it. After the policy is 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 purposes, we will publish the policy.

Once the policy is published, we will log out and create a new user called, "Employer".

In the Profile screen, select “GHG Remote Work” and then click the “Generate” button.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-d3fe122ff36ed0c24bc3f1eb9d8d1a9d269165fa%2FScreen%20Shot%202022-12-14%20at%201.22.23%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

When the Operator ID and Operator Key generates, click the submit button.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-b79ef974c6b38fd86ff357eb68b7770a0c7dc7cf%2FScreen%20Shot%202022-12-14%20at%201.22.43%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

When the Employer profile has been created, click on the Policies tab

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-420ca911e7ba8fa710bdab63b47e160d4ec40846%2FScreen%20Shot%202022-12-14%20at%201.23.09%20PM.png?alt=media&#x26;token=25ac069e-88de-4ed7-8139-c2df6cf741d6" alt=""><figcaption></figcaption></figure>

In the Policies tab, click on the “Go” button to begin the Remote Work GHG Policy operations.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-a81dffdade73fca3a5801ba721ada81a24950d0c%2FScreen%20Shot%202022-12-14%20at%201.23.42%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

To create a new Organization Group, select the “organization group template” and provide a Group Label (i.e. organization\_group). Click Ok when you are finished.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-6ed5abee93c3d5ecfad8821362da2dee6a4ef223%2FScreen%20Shot%202022-12-14%20at%201.24.00%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

Fill out the Employer Info. Note that a valid Hedera Treasury Account is required. Enter your Private Key to associate your Organization Account with the GHG token.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-d8bb4c395e22bde328e26c8a79eddc6effb42a19%2FScreen%20Shot%202022-12-14%20at%201.24.25%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

In the Employee sub-tab, click on the “Get Invite” button to generate the link that Employees will use to join the Organization Group.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-665c84708d97b1cf1fe851d40401626ff1f643ca%2FScreen%20Shot%202022-12-14%20at%201.24.41%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

Generate the invite for the Employee role.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-55c24e8207c5f60bf61d17d337dc344d2c382abe%2FScreen%20Shot%202022-12-14%20at%201.25.01%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

Copy the invitation and then send the invitation to employees you wish to join the Organization Group.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-68da0df381835d525a3e74d9f29ee4f3328f23be%2FScreen%20Shot%202022-12-14%20at%201.25.12%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

As Employees join your Organization Group and fill out the Employee Survey, their results will show up in the Policy Screen under the sub-tab Employee Survey column. You can view their results by clicking on “View Document.”

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-d05d1f44937a96ebeeab7ccca93abc2d9d2b3424%2FScreen%20Shot%202022-12-14%20at%201.25.27%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

You can review their Time Tracking submissions in the Policy Screen under the sub-tab Report column. View their results by clicking on “View Document.”

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-b1306a5f14015b4d1a80a5bc8e28021ce24bf789%2FScreen%20Shot%202022-12-14%20at%201.25.45%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

You can review the total aggregate CO2 emissions in the Policy Screen under the sub-table Total Report column. You can view their results by clicking on “View Document.”

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

1. The timers in the GHG policy on MGS are set to intervals of hours, so you need to wait \~1.5 hours for minting tokens
2. You can make changes to this time period by changing time\_tracking\_timer and report\_timer blocks as shown below.

**For example** :\
**report\_timer:** 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58 \* \* \* \*

**time\_tracking\_timer:** 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,57,59 \* \* \* \*
{% endhint %}

You can view the number of tokens minted in the Policy Screen under the sub-table Mint’s VP column. You can explore the Trust Chain by clicking on the “View Document.”

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-c1d22fa50064c6751b45a033e0a4373314826250%2FScreen%20Shot%202022-12-14%20at%201.26.16%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

### For Employees to Create an Employee User and Join an Organization (Employee Users)

Log in and create a user with the name of your choice. For the demo, we are using the name Employee.

On the Profile screen, select “GHG Remote Work” and then “Generate” the Operator ID and Operator Key information. When the Operator ID and Operator Key generates, click the submit button.

When the Employee profile has been created, click on the Policies tab.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-b6fe08dbc5429ee7752835f1dc7201624033620c%2FScreen%20Shot%202022-12-14%20at%201.26.36%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

In the Policies tab, click on the “Go” button to begin the Remote Work GHG Policy operations.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-f652f4dcfaa675b90c319b0050af01c432cc2b09%2FScreen%20Shot%202022-12-14%20at%201.26.56%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

To join the Organization, select “Accept invitation” and copy and paste the invite link that the Employee sent.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-6f92b2c7f0ca13ad5ff890dfd2c4a7b67d3af1d9%2FScreen%20Shot%202022-12-14%20at%201.27.10%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

Fill out the Employee Survey.

In the Time Tracking sub-tab, click on the Create New Time Tracking button.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-b32305991254d110e5164d4451420bad7544966e%2FScreen%20Shot%202022-12-14%20at%201.27.29%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

Fill out the form to track working hours. Repeat this step for as many days as you are looking to track. In the screenshot below, we are showing an example of tracking time for two days (Sept. 28 and Sept. 29).

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-3cb695744a85bd3c1b9852f61cc0abe925e99875%2FScreen%20Shot%202022-12-14%20at%201.27.54%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>
