Overview
continum init is an interactive CLI that sets up the Continum SDK in your project with zero configuration. It detects your existing framework, guides you through configuration, and generates all necessary files.
Usage
Run this command in your project directory (or an empty folder):Features
π Smart Framework Detection
The CLI automatically detects your existing framework: Frontend:- Next.js (App Router & Pages Router)
- Nuxt (Vue)
- SvelteKit
- Astro
- React, Vue, Svelte
- NestJS
- Fastify
- Hono
- Express
π Framework Setup
Start from scratch with your favorite framework:- Ask if you want to set up a framework
- Install and configure your chosen framework
- Set up Continum with your compliance requirements
- Generate example code to get you started
π― Smart Defaults
The CLI automatically:- Detects TypeScript vs JavaScript
- Suggests appropriate presets based on your product type
- Configures compliance frameworks
- Sets up alert channels
- Installs the SDK
π Secure by Default
- API keys and webhooks stored in
.env(not committed) - HTTPS validation for all webhook URLs
- Environment variable references in config files
What It Creates
After runningnpx continum init, youβll have:
- β
continum.config.ts(or.js) - Your Continum configuration - β
.env- Updated with API key and alert webhooks - β
continum-example.ts(or.js) - Sample code to get started - β
@continum/sdkinstalled in your project
Interactive Prompts
1. Framework Setup (if no package.json)
2. Product Type
- π¬ Customer support bot
- π» Coding assistant
- βοΈ Legal or research tool
- π₯ Healthcare application
- π° Financial services
- π€ AI agent with tool use
- βοΈ Content generation
- π§ Internal team tool
- π Data pipeline
- π Education tool
3. LLM Providers
- OpenAI (GPT-4o, GPT-4, o1, o3)
- Anthropic (Claude Opus, Sonnet, Haiku)
- Google Gemini (Gemini Pro, Flash)
- Azure OpenAI
- AWS Bedrock
- Other
4. Compliance Frameworks
- GDPR (EU data protection)
- CCPA (California privacy)
- SOC2 (Security & availability)
- HIPAA (US healthcare data)
- EU AI Act (EU AI regulation)
- ISO 27001 (Information security)
- FINRA (US financial services)
- PCI DSS (Payment card security)
- NIST AI RMF (AI risk management)
5. Alert Channels
- Slack - Team notifications
- PagerDuty - Critical incidents
- Discord - Community alerts
- Custom Webhook - Your own endpoint
Generated Files
continum.config.ts
.env
continum-example.ts
Example Sessions
Starting from Scratch
Existing Project
Requirements
- Node.js >= 18.0.0
- A Continum API key (get one at https://app.continum.co)
Get Your API Key
Get your API key from the dashboard:- Sign in with GitHub
- Create a customer account (Individual or Company)
- Generate an API key
- Save it securely (you wonβt see it again)
Next Steps
After runningnpx continum init:
- Add your API key to
.env - Import and use the SDK in your code
- Check the example file for usage patterns
- View the dashboard at https://app.continum.co
Documentation
Support
- Docs: https://docs.continum.co
- Dashboard: https://app.continum.co
- Email: support@continum.co

