PII Web Portal
Create a PII Web Portal
Know Your Customer (KYC)/Anti-Money Laundering (AML)/ID Verification Variables to Define
- KYC/AML/ID Verification Details
- Name
- Variable: name
- Label: Cardholder Name
- Description: The name of the cardholder.
- Phone Number
- Variable: phone_number
- Label: Phone Number
- Description: The end-user’s phone number.
- Social Security Number
- Variable: ssn
- Label: Social Security Number
- Description: The end-user’s Social Security Number.
Record the VGS Data Vault ID
- Log into your VGS Dashboard (https://dashboard.verygoodsecurity.com).
- On the top, left-hand side, just under the organization name, click on the “Vault” tab.
- On the top, left-hand side, just below the “Vault” tab, record/copy your VGS “Vault ID”.
- The following picture highlights, with red boxes, the areas to select/modify in steps #2 and #3.

- If not already logged in, log into your VGS Dashboard (https://dashboard.verygoodsecurity.com).
- Go to the Developer dropdown (top, right-hand side of VGS Dashboard).
- Select “VGS Collect”.
- Click on the “Web” tab below “VGS Collect” title at the top.
- The following pictures highlights, with red boxes, the areas to select/modify in steps #2 through #4.

- Scroll to the bottom of the page.
- Under “Next Steps”, select “Start with Collect.js Form Builder.
- Finally, click on “Open Form Builder”.
- The following pictures highlights, with red boxes, the areas to select/modify in steps #6 through #8.

- From the left-hand pane of the VGS Collect.js Form Builder, select “Choose from template”.
- Hit “Apply” next to the “SSN Form” template.
- Click on VGS Collect.js Form Builder to exit the form template selection.
- The following pictures highlights, with red boxes, the areas to select/modify in steps #1 through #3.


- From the left-hand pane of the VGS Collect.js Form Builder, select “Add new field”.
- Under Field Options on the left-hand side, check the “Field label” box and enter, “Name” in the box provided.
- enter “name” in the “Enter field name” field.
- Under Field Options on the right-hand side, hit the “Create” button.
- The following pictures highlights, with red boxes, the areas to select/modify in steps #4 through #7.


- From the left-hand pane of the VGS Collect.js Form Builder, select “Add new field”.
- Under Field Options on the left-hand side, check the “Field label” box and enter, “Phone Number” in the box provided.
- Under Field Options on the right-hand side, enter “phone_number” in the “Enter field name” field.
- Under Field Options on the right-hand side, hit the “Create” button.
- The following pictures highlights, with red boxes, the areas to select/modify in steps #9 through #12.


- From the right-hand pane of the VGS Collect.js, select “Form Preview”.
- You should now see 3 fields to capture the PII needed for the KYC/AML/ID Verification. .
- If desired, you can re-order the form boxes by clicking on the field box in the left-hand panel and dragging it to the desired order position.
- From the right-hand pane of the VGS Collect.js Form Builder, select “Get Code”.
- You will see the following file types:
* JS (form.js) = The Javascript code contain the VGS Collect form creation and iFrames defined.
* HTML (index.html) - The HTML used to present the form.
* CSS (styles.css) - Contains CSS to style the form.
- From the right-hand pane of the VGS Collect.js Form Builder, click on the “JS” tab.
- Scroll to the bottom.
- Hit “Download Code” to download the 3 files.
- The following pictures highlights, with red boxes, the areas to select/modify in steps #14 through #21.

-
Go to the “Download” folder on your local machine and locate the newly downloaded directory starting with “collect-form” and open it.
-
The following pictures highlights, with red boxes, the areas to select/modify in step #23.

- Edit the “form.js” file.
- Replace the ‘<Vault ID>’ with your VGS Data Vault ID recorded earlier.
- The following pictures highlights, with red boxes, the areas to select/modify in steps #25 and #26.


- Go to the bottom of the “form.js” file. The following code block and highlighted area is the form submit and denotes the destination API endpoint (/post).

- Save the file.
- Double-click on the “index.html” file to launch the PII Web Portal.
- The following picture provides an illustration of the PII Web Portal launched in step #30.

Please note that you just created a web portal (client-side application) that is descoped from PII-sensitive data.
Also note that we only leveraged step #1 of the VGS Collect.js Form Builder to create a form. As part of this lab, we are walking through some steps manually. Steps #2 - #4 enable you to style the form (step #2; if planning on leverage in real environment), define the server-side API endpoint to hit (step #3), and automatic creation of the VGS Data Vault and Inbound Route (step #4;). We will manually create an Inbound Route in the next section.
Congratulations, you have finished this section.