Skip to content

bitcoinvsalts/gridsome-hubspot-starter

Repository files navigation

Gridsome Hubspot Starter

A Gridsome starter using Hubspot to create new contacts and deals to your Hubspot.

Deploy to Netlify

screenshot

Demo URL

https://gridsome-hubspot-starter.netlify.app

Features

  • When the contact form is submitted from the Gridsome, it does the following:
  • check if contact email exist in your Hubspot CRM
  • if contact does not exist, it will create a new contact.
  • create new engagement for this contact.
  • create a new deal for this contact.

Requirements

  • You need an account at Hubspot
  • Set the environement variable called HUBSPOT_API_KEY with your own API key.

Installation

  1. Install Gridsome CLI tool if you don't have it: npm install --global @gridsome/cli
  2. Clone the repo: git clone https://github.com/jsappme/gridsome-hubspot-starter.git
  3. cd gridsome-hubspot-starter
  4. npm install
  5. gridsome develop to start a local dev server at http://localhost:8080

Notes

Happy coding!

Gridsome Shopify = ❤️