hubspot-multi-env-setup

Featured

Configure HubSpot across development, staging, and production environments. Use when setting up per-environment HubSpot portals, configuring separate access tokens, or implementing environment isolation for HubSpot integrations. Trigger with phrases like "hubspot environments", "hubspot staging", "hubspot dev prod", "hubspot test account", "hubspot config by env".

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 Multi-Environment Setup ## Overview Configure HubSpot integrations across dev/staging/production using separate HubSpot portals (test accounts), environment-specific tokens, and configuration management. ## Prerequisites - HubSpot developer account (for test portals) - Secret management solution (Vault, AWS SM, GCP SM) - CI/CD pipeline with environment variables ## Instructions ### Step 1: Environment Strategy | Environment | HubSpot Portal | Token Type | Data | |-------------|---------------|------------|------| | Development | Developer test account | Test private app token | Fake/seed data | | Staging | Sandbox portal | Staging private app token | Anonymized copy | | Production | Production portal | Production private app token | Real customer data | Create a free developer test account at [developers.hubspot.com](https://developers.hubspot.com/get-started). ### Step 2: Environment Configuration ```typescript // src/config/hubspot.ts import * as hubspot from '@hubspot/api-client'; type Environment = 'development' | 'staging' | 'production'; interface HubSpotEnvConfig { accessToken: string; portalId: string; retries: number; cacheTtlMs: number; } const ENV_CONFIG: Record<Environment, Partial<HubSpotEnvConfig>> = { development: { retries: 1, cacheTtlMs: 0, // no cache in dev for fresh data }, staging: { retries: 3, cacheTtlMs: 60000, }, production: { retries: 5, cacheTtlMs: 300000, }, }; function getEnvironm...

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