/sample-apps-manage-crm-objects

Sample application in PHP, Python, Ruby and JavaScript demonstrating HubSpot API to manage CRM Objects

Primary LanguageJavaScript

HubSpot CRM Objects sample app

This is a sample app for the HubSpot client libraries. This sample app demonstrates how to make CRUD API calls to different CRM Objects Endpoints.

Reference

How to run locally

  1. Copy the .env.template file into a file named .env in the folder of the language you want to use. For example:
cp node/.env.template node/.env
  1. You'll need to create a private app to get your access token

NOTE: choose necessary scopes (if you don't choose the sample won't work)

  1. Paste your access token as the value for ACCESS_TOKEN in .env

  2. Follow the language instructions on how to run. For example, if you want to run the Node server:

cd node # there's a README in this folder with instructions
npm install
./bin/cli.js

Supported languages