Skip to main content

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):
No installation required! The CLI will guide you through the entire setup process.

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
Backend:
  • NestJS
  • Fastify
  • Hono
  • Express
If no framework is detected, it offers to set one up for you!

πŸš€ Framework Setup

Start from scratch with your favorite framework:
The CLI will:
  1. Ask if you want to set up a framework
  2. Install and configure your chosen framework
  3. Set up Continum with your compliance requirements
  4. 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 running npx 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/sdk installed in your project

Interactive Prompts

1. Framework Setup (if no package.json)

2. Product Type

Options:
  • πŸ’¬ 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

Options:
  • 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

Options:
  • 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

Options:
  • Slack - Team notifications
  • PagerDuty - Critical incidents
  • Discord - Community alerts
  • Custom Webhook - Your own endpoint
All webhook URLs must use HTTPS for security.

Generated Files

continum.config.ts

.env

continum-example.ts

Example Sessions

Starting from Scratch

Existing Project

Requirements

Get Your API Key

Get your API key from the dashboard:
  1. Sign in with GitHub
  2. Create a customer account (Individual or Company)
  3. Generate an API key
  4. Save it securely (you won’t see it again)

Next Steps

After running npx continum init:
  1. Add your API key to .env
  2. Import and use the SDK in your code
  3. Check the example file for usage patterns
  4. View the dashboard at https://app.continum.co

Documentation

Support