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,266 stars 315 forks Updated today 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
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

hootsuite-install-auth

Install and configure Hootsuite SDK/CLI authentication. Use when setting up a new Hootsuite integration, configuring API keys, or initializing Hootsuite in your project. Trigger with phrases like "install hootsuite", "setup hootsuite", "hootsuite auth", "configure hootsuite API key".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hubspot-integration

Expert patterns for HubSpot CRM integration including OAuth authentication, CRM objects, associations, batch operations, webhooks, and custom objects. Covers Node.js and Python SDKs.

39,227 Updated today
sickn33
AI & Automation Featured

hubspot-security-basics

Apply HubSpot security best practices for tokens, scopes, and webhook verification. Use when securing private app tokens, implementing least privilege scopes, or validating HubSpot webhook signatures. Trigger with phrases like "hubspot security", "hubspot token rotation", "secure hubspot", "hubspot scopes", "hubspot webhook verify".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hubspot-common-errors

Diagnose and fix common HubSpot API errors with real error responses. Use when encountering HubSpot errors, debugging failed API requests, or troubleshooting integration issues with specific HTTP status codes. Trigger with phrases like "hubspot error", "fix hubspot", "hubspot 401", "hubspot 429", "hubspot not working", "debug hubspot API".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hubspot-enterprise-rbac

Configure HubSpot enterprise access control with OAuth scopes and team permissions. Use when implementing role-based access, configuring per-team HubSpot scopes, or setting up multi-user access patterns for HubSpot integrations. Trigger with phrases like "hubspot RBAC", "hubspot roles", "hubspot enterprise", "hubspot permissions", "hubspot team access", "hubspot OAuth scopes".

2,266 Updated today
jeremylongshore