Skip to content
Example of using VGS as a netlify addon
HTML
Branch: master
Clone or download
dmarynych Update index.html
secure -> data-secure
Latest commit f910bc6 Jul 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Jul 22, 2019
index.html Update index.html Jul 22, 2019

README.md

Addon docs https://www.verygoodsecurity.com/docs/integrations/netlify

Example of using VGS as a netlify addon

First to all you need to create your site and deploy to netlify.

  1. Clone repo
  2. Install netlify-cli. Netlify docs https://www.netlify.com/docs/cli/
  3. Run netlify init from site's directory
  4. Run netlify addons:create vgs from site's directory.
  5. Run netlify addons:auth vgs, to authenticate and give addon access to your VGS account.
  6. Then, follow interactive guide.

Example of form

<form name="contact" method="post" netlify-honeypot="b" autocomplete="off" data-netlify data-secure>
  <p>
    <label for="name">Basic Field</label>
    <input type="text" name="name" id="name" />
  </p>
    
  <p>
    <label for="secure">Secure Field</label>
    <input type="text" name="secure" id="secure" data-secure-field />
  </p>
  <p>
    <button type="submit" id="submit">Send</button>
  </p>
</form>
  • name & netlify form attributes are required by Netlify Forms
  • data-secure attribute enables VGS Collect to secure your form.
  • data-secure-field input attribute tells which field should be secured
You can’t perform that action at this time.