hubspot-install-auth

Featured

Install and configure HubSpot API client with authentication. Use when setting up a new HubSpot integration, configuring private app tokens, OAuth 2.0 flows, or initializing the @hubspot/api-client SDK. Trigger with phrases like "install hubspot", "setup hubspot auth", "hubspot access token", "configure hubspot API", "hubspot private app".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# HubSpot Install & Auth ## Overview Set up the `@hubspot/api-client` SDK and configure authentication using private app access tokens or OAuth 2.0. ## Prerequisites - Node.js 18+ or Python 3.10+ - HubSpot account (free or paid) - Private app created in Settings > Integrations > Private Apps - Required scopes selected for your private app ## Instructions ### Step 1: Install the SDK ```bash # Node.js (official SDK) npm install @hubspot/api-client # Python pip install hubspot-api-client ``` ### Step 2: Create a Private App in HubSpot 1. Go to Settings > Integrations > Private Apps 2. Click "Create a private app" 3. Name your app and select scopes: - `crm.objects.contacts.read` / `crm.objects.contacts.write` - `crm.objects.companies.read` / `crm.objects.companies.write` - `crm.objects.deals.read` / `crm.objects.deals.write` - `crm.objects.custom.read` / `crm.objects.custom.write` - `crm.schemas.contacts.read` (for properties) 4. Copy the generated access token ### Step 3: Configure Environment ```bash # .env file (add to .gitignore) HUBSPOT_ACCESS_TOKEN=pat-na1-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx # .gitignore echo '.env' >> .gitignore echo '.env.local' >> .gitignore ``` ### Step 4: Initialize and Verify ```typescript import * as hubspot from '@hubspot/api-client'; const hubspotClient = new hubspot.Client({ accessToken: process.env.HUBSPOT_ACCESS_TOKEN, }); // Verify connection by fetching account info async function verifyConnection() { try {...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category