# Policy Workflow Step 15

We need to add another step to close out the sub-steps in the cycle. This is accomplished by creating the IREC document CSD002 – Device Registration. This is created just like the document from earlier steps called CSD001 as a verifiable credential and stored in the guardian.

We click back to the “create\_new\_sensors\_steps” process step and add a “Send” action by clicking on the “Send” button in the top navigation bar.

We then add a tag, type - of course, a verifiable credential, and entity – our inverter sensor. And done. We have completed the steps to add an inverter sensor to a project.

<figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FSO2JZ4Dn8UNosiGfKrmZ%2Fimage.png?alt=media&#x26;token=208f591f-40d8-4bf0-9d69-85a3c50226f6" alt=""><figcaption></figcaption></figure>

**Programmatically this workflow step looks like this:**

```
                // Also save it in the DB.
                {
                  "tag": "CSD02_device_registration",
                  "blockType": "sendToGuardianBlock",
                  "dataType": "vc-documents",
                  // Document in the DB is labeled as "Inverter" to enable later filtering in the grid.
                  "entityType": "Inverter",
                  "stopPropagation": false,
                  "uiMetaData": {}
                }
              ],
              //"cyclic" - go back one step to enable the creation of another sensor.
              "cyclic": true
            }
          ]
        },
```

Lastly, just create a new Container Block to group all components on the page with MRV data.

<figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FhNKgLGTG1UqoP5f6DCfg%2Fimage.png?alt=media&#x26;token=4d5c09d3-7e8b-459c-998f-d228383467ee" alt=""><figcaption></figcaption></figure>

**Programmatically this workflow step looks like this:**

```
        // Create interfaceContainerBlock to group all components on the page with MRV data.
        {
          "blockType": "InterfaceContainerBlock",
          "tag": "mrv_page",
          "defaultActive": true,
          "permissions": [
            "INSTALLER"
          ],  
          "uiMetaData": {
            "type": "blank",
            "title": "MRV"
          },
```

And done. We have completed the steps to add an inverter sensor to a project.
