@boltic/cli
v1.0.37
Published
A powerful CLI tool for managing Boltic Workflow integrations - create, sync, test, and publish integrations with ease
Readme
⚡ Boltic CLI
Professional CLI for interacting with the Boltic platform — create, manage, and publish integrations, workflows, MCPs, and more with enterprise-grade features and a seamless developer experience.
Streamline your developer workflow on the Boltic platform
Features • Installation • Quick Start • Documentation • Contributing
📋 Table of Contents
- ✨ Features
- 🚀 Quick Start
- 📦 Installation
- 🔐 Authentication
- 🧩 Integration Management
- 🧠 MCP
- 📚 Command Reference
- 🛠️ Development Workflow
- 🔧 Configuration
- 🛡️ Security
- 🐛 Troubleshooting
- 📖 Documentation
- 🤝 Contributing
- 📄 License
✨ Features
- 🔐 Secure Authentication - Enterprise-grade token management with secure storage
- 🚀 Rapid Development - Create workflows, integrations, and more in minutes, not hours
- 📦 Smart Project Management - Automated folder structure and configuration
- 🔄 Real-time Synchronization - Instant sync with Boltic Cloud platform
- 🎯 Type-safe Development - Support for Workflow Activities and Triggers
- 🎨 Rich Interactive UI - Beautiful command-line interface with progress indicators
- 📊 Comprehensive Validation - Built-in validation for platform resources and components
- 🔧 Developer Experience - Hot reload, debugging tools, and comprehensive error handling
- 🌐 Multi-platform Support - Works seamlessly on Windows, macOS, and Linux
- 📈 Version Control Integration - Git-friendly workflow with proper ignore patterns
🚀 Quick Start
Get up and running with Boltic CLI in under 2 minutes:
# Install Boltic CLI globally
npm install -g @boltic/cli
# Authenticate with your Boltic account (if required for commands)
boltic login
# Create your first integration
boltic integration create
# Sync your changes
boltic integration sync
# Submit for review
boltic integration submit📦 Installation
Prerequisites
- Node.js 18.0.0 or higher
- npm 8.0.0 or higher
- Git (for version control)
Global Installation (Recommended)
npm install -g @boltic/cliVerify Installation
boltic version🔐 Authentication
Boltic CLI uses a secure OAuth 2.0 flow with browser-based authentication for enhanced security and user experience.
Initial Login
boltic loginThe authentication process follows these steps:
- Browser Launch: CLI automatically opens your default browser to the Boltic login page
- OAuth Flow: Complete the authentication in your browser (email/password or SSO)
- Token Exchange: CLI automatically exchanges the authorization code for access tokens
- Secure Storage: Tokens are encrypted and stored in your system's keychain
Authentication Flow
# Start authentication
boltic login
# CLI will:
# 1. Generate a unique request code
# 2. Open browser to: https://console.fynd.com/auth/sign-in
# 3. Wait for you to complete login in browser
# 4. Poll for session data (up to 5 minutes)
# 5. Exchange session for bearer token
# 6. Store tokens securelySecure Token Storage
Your authentication credentials are securely stored using your system's native keychain:
- macOS: Keychain Access (
boltic-cliservice) - Windows: Credential Manager (
boltic-cliservice) - Linux: Secret Service API (
boltic-cliservice)
Stored Credentials:
token: Bearer token for API authenticationsession: Session cookie for web requestsaccount_id: Your Boltic account identifier
Logout and Token Management
# Clear all stored credentials
boltic logout
# Check authentication status
boltic integration list # Will prompt login if not authenticatedTroubleshooting Authentication
Common Issues
Browser doesn't open automatically:
# Manual login URL will be displayed
# Copy and paste the URL into your browserAuthentication timeout:
# Retry login (5-minute timeout)
boltic loginConnection issues:
# Check network connectivity
ping console.fynd.com
boltic login🧩 Integration Management
Creating New Integrations
boltic integration createInteractive Setup Process
The CLI will guide you through:
Integration Details
- Name (alphanumeric + underscores only)
- Description (human-readable)
- AI-generated description
Visual Assets
- Icon selection (SVG format required)
- Brand colors and styling
Integration Type
- Workflow Activity: Reusable components for specific tasks
- Workflow Trigger: Event-driven components that initiate workflows
- Both: Create both types simultaneously
Categorization
- Integration Group (Analytics, CRM, ERP, Marketing, etc.)
- Tags and metadata
Generated Project Structure
my-integration/
├── schemas/
│ ├── resources/
│ │ └── resource1.json
│ ├── authentication.json
│ ├── base.json
│ └── webhook.json
├── Authentication.mdx
├── documentation/
│ ├── integration.mdx
│ └── trigger.mdx
└── spec.jsonFile Descriptions:
schemas/- Schema definitions for the integrationresources/- Resource-specific schemas (e.g.,resource1.json)authentication.json- Authentication configuration and parametersbase.json- Base integration configuration and parameterswebhook.json- Webhook configuration (for trigger integrations)
Documentation files:
Authentication.mdx- Authentication documentation in Markdown format (optional, created when catalogue is enabled)documentation/integration.mdx- Activity documentation (required when activity_type is present; falls back to legacyDocumentation.mdx)documentation/trigger.mdx- Trigger documentation (required when trigger_type is "CloudTrigger")spec.json- Integration specification and metadata
Managing Existing Integrations
Edit Integration
# Edit current integration
boltic integration edit
Sync Changes
# Sync all changes
boltic integration syncPull Latest Changes
# Pull latest from Boltic Cloud
boltic integration pullSubmit for Review
# Submit for publishing review
boltic integration submit🔌 MCP Management
The CLI includes utilities to set up MCP connections for popular clients. This helps your AI tools connect to Boltic services via STDIO or Streamable HTTP.
Usage
# Basic: configure MCP for Claude Desktop (default client)
boltic mcp setup https://mcp.boltic.io/sse
# Specify client and a friendly name
boltic mcp setup https://mcp.boltic.io/sse my-boltic --client claude
# Supported clients (examples):
# claude, cline, roocode, windsurf, cursor, vscode, vscode-insiders,
# witsy, enconvo, boltai, amazon-bedrock, amazonq, librechat, gemini-cli📚 Command Reference
Core Commands
| Command | Description | Options |
| ---------------- | --------------------------------- | ------- |
| boltic login | Authenticate with Boltic platform | |
| boltic logout | Clear stored credentials | |
| boltic version | Display CLI version | |
| boltic help | Show comprehensive help | |
Integration Commands
| Command | Description | Options |
| --------------------------- | ------------------------- | --------------------- |
| boltic integration create | Create new integration | Interactive prompts |
| boltic integration edit | Edit existing integration | Interactive prompt |
| boltic integration sync | Sync local changes | Interactive prompt |
| boltic integration pull | Pull latest changes | Interactive prompt |
| boltic integration submit | Submit for review | |
| boltic integration status | Check integration status | Interactive selection |
| boltic integration help | Show integration help | |
MCP Commands
| Command | Description | Options |
| ------------------ | -------------------------------------------- | --------------------------------- |
| boltic mcp help | Show help for MCP sub-commands | |
| boltic mcp setup | Configure an MCP server for a specific client| --client <name> --name <alias>|
Help and Documentation
# General help
boltic help
# Command-specific help
boltic integration help
boltic login help🛠️ Development Workflow
Typical Development Cycle
# 1. Start Development
boltic integration create
cd my-integration
# 2. Make Changes
# Edit your integration files...
# 3. Sync Changes
boltic integration sync
# 4. Iterate
# Make more changes and sync...
# 5. Submit for Review
boltic integration submit🐛 Troubleshooting
Complete Troubleshooting Guide
When encountering issues with Boltic CLI, follow this comprehensive troubleshooting guide:
1. Authentication Issues
Problem: Cannot authenticate, login fails, or session expires
Solutions:
# Clear stored credentials and re-authenticate
boltic logout
boltic login
# Check network connectivity
ping console.fynd.com
# If browser doesn't open automatically, copy the manual URL
boltic login # Manual URL will be displayed
# For authentication timeout (5-minute limit)
boltic login # Retry the login processBrowser-specific issues:
- Manual login URL will be displayed if browser doesn't open
- Copy and paste the URL into your browser
- Ensure you're using a supported browser (Chrome, Firefox, Safari, Edge)
2. Integration Management Issues
Problem: Cannot create, edit, sync, or submit integrations
Solutions:
# Check integration status
boltic integration status
# Force sync all changes
boltic integration sync
# Pull latest changes from Boltic Cloud
boltic integration pull
# Re-authenticate if needed
boltic logout && boltic login
# Check if you're in the correct directory
ls -la # Should show integration files (spec.json, etc.)3. Network and Connectivity Issues
Problem: Connection errors, timeouts, or API failures
Solutions:
# Test basic connectivity
ping console.fynd.com
# Check API status
boltic integration status
# Enable verbose logging for detailed error information
boltic --verbose integration sync
boltic --verbose integration create
boltic --verbose login
# Check your internet connection and firewall settings4. File and Directory Issues
Problem: Missing files, permission errors, or corrupted project structure
Solutions:
# Verify project structure
ls -la # Should show: schemas/, Authentication.mdx (optional), documentation/, spec.json
# Check file permissions
ls -la schemas/
# Re-create integration if structure is corrupted
boltic integration create # Create new integration
# Then manually copy your customizations5. Performance and Sync Issues
Problem: Slow performance, hanging operations, or sync failures
Solutions:
# Check integration status first
boltic integration status
# Force sync with verbose output
boltic --verbose integration sync
# Clear cache and re-authenticate
boltic logout
boltic login
# Check system resources
# Ensure sufficient disk space and memory6. Debug Mode and Logging
Enable detailed logging for any command:
# General verbose mode
boltic --verbose <command>
# Specific examples
boltic --verbose integration create
boltic --verbose integration sync
boltic --verbose login
boltic --verbose integration submit7. Getting Help and Support
Built-in help system:
# General help
boltic help
# Command-specific help
boltic integration help
boltic login help
# Check CLI version
boltic versionExternal resources:
- 📚 Boltic Documentation - Complete guides and API reference
- 🐛 Issue Tracker - Report bugs and request features
- 💬 Discord Community - Community support and discussions
- 📧 Support - Official support channels
8. Advanced Troubleshooting
Keychain/Credential issues:
# Manual credential cleanup (if logout fails)
# macOS: Check Keychain Access for "boltic-cli" entries
# Windows: Check Credential Manager for "boltic-cli" entries
# Linux: Check Secret Service for "boltic-cli" entries
# Force logout and clean authentication
boltic logout
boltic loginEnvironment-specific issues:
# Check Node.js version (requires 18.0.0+)
node --version
# Check npm version (requires 8.0.0+)
npm --version
# Update CLI to latest version
npm install -g @boltic/cli@latest
# Verify installation
boltic version9. Emergency Recovery
If all else fails:
# Complete reset
boltic logout
npm uninstall -g @boltic/cli
npm install -g @boltic/cli
boltic login
# Backup and restore integration
# Copy your integration files to a backup location
# Re-create integration and restore customizationsStill need help?
- Check the FAQ
- Search existing issues
- Create a new issue with:
- CLI version (
boltic version) - Operating system
- Node.js version
- Complete error message
- Steps to reproduce
- CLI version (
📖 Documentation
Official Resources
- 📚 Boltic Documentation - Complete API reference and guides
Community Resources
- 🐛 Issue Tracker - Report bugs and request features
- 📝 Blog - Latest updates and best practices
📄 License
This project is licensed under the ISC License - see the LICENSE file for details.
🙏 Acknowledgments
- Boltic Team - For building an amazing platform
- Open Source Contributors - For their valuable contributions
- Community - For feedback, bug reports, and feature requests
Made with ❤️ by the Boltic Team
Website • Documentation •
