Securing Data from a Browser
Estimated time: 15 minutes
This integration guide provides an end-to-end example of how to securely collect sensitive data with VGS Collect. This approach improves your security posture and minimizes your PCI DSS exposure.

Choose a Form and Try it Out
To start, use the VGS Dashboard to select a pre-built form. Once you've chosen your desired form and press the Configure button to configure your Vault. You can easily return to choose another form later.
Install VGS Collect.js form
Include the JS file in your application. You can just add <script>
element to your application or use an npm module to load the script:
<script type="text/javascript" src="https://js.verygoodvault.com/vgs-collect/3.2.2/vgs-collect.js" integrity="sha384-YXvleED0q049Gx5rqUHI/hOTud/jKaLiL757lVq26oVFAd9SjTDHBoOviWw6XmPo" crossorigin="anonymous"></script>
or
npm install @vgs/collect-js
Embed code example into your application
Next, copy the code of the chosen form and add it to your application or website. Submit the form and receive your first tokens.
Success! 🎉 Your application is now securely collecting and storing sensitive data using VGS Collect.
Next steps
Last updated