JetStack AI CLI - Manage CRM assets programmatically
Package Exports
@jetstackai/cli
@jetstackai/cli/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jetstackai/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
JetStack AI CLI
Manage HubSpot assets programmatically via the command line.
Installation
npminstall-g @jetstackai/cli
Quick Start
Go to your JetStack AI dashboard > Settings > API Keys
Generate a new token and copy both the Instance ID and Access Token
Run the login command:
jetstackai auth login
You will be prompted to enter your Instance ID and Access Token:
JetStack AI - Authentication
Enter your Instance ID: <paste Instance ID from dashboard>
Enter your Access Token: <paste Access Token from dashboard>
Validating credentials...
✓ Connected successfully
Organization: org_xxx
Scopes: portals:read, assets:read, ...
# Search for workflow profiles across your library
jetstackai profiles search --type workflows --object-type Contact --format table
# Scan a portal for workflow profiles (fresh from HubSpot)
jetstackai profiles scan abc123 workflows --fresh--format table
# Scan ALL portals for the best workflow match
jetstackai profiles scan-all workflows --format json
# Get Mermaid diagram for an imported workflow
jetstackai profiles mermaid workflow-doc-id
# Preview a workflow from HubSpot without importing
jetstackai profiles preview-mermaid abc123 12345
Salesforce
Command
Description
jetstackai salesforce list
List Salesforce connections
Output Formats
Most commands support --format to control output:
# JSON output (default)
jetstackai portals list
# Table output
jetstackai portals list --format table
Set the default format during login, or by editing ~/.jetstackai/config.json:
JetStack AI CLI works with Claude Code for AI-assisted HubSpot asset management. After authenticating, Claude Code can use the CLI to browse portals, search asset profiles, generate workflow diagrams, and manage deployments.
MCP Server
For direct AI integration via the Model Context Protocol, connect to https://mcp.jetstack.ai in Claude, ChatGPT, or other MCP-compatible AI assistants.
Configuration
Credentials are stored locally at ~/.jetstackai/config.json. Use jetstackai auth logout to remove them.