DevhelionDevhelion
    DocsPricingLogin
    Documentation

    Documentation

    • Devhelion Tutor
    • Getting Started
    • CLI Commands
    • Analytics Dashboard
    • API Reference
    • Devhelion API UsageBeta
    • Self-Hosting
      • Quick Start
      • Team Setup
    • Privacy & Security
    • Troubleshooting
    • Beta: OrchestrationBeta
    1. Docs
    2. Self-Hosting
    3. Quick Start

    Self-Hosting Quick Start

    Set up Devhelion Tutor for your team with complete privacy and control. All your AI analytics data stays on your own infrastructure.

    What You'll Set Up

    1. Database

    PostgreSQL for persistent storage (Supabase, NeonDB, or self-hosted)

    2. Server

    Devhelion Tutor server running on your infrastructure

    3. Team Setup

    Each team member connects their CLI to your server

    Phase 1: Admin Setup

    One-time setup by the team admin or DevOps

    1

    Set Up Your Database

    Devhelion requires a PostgreSQL database for persistent storage. Choose one of these options:

    Option A: Supabase (Easiest)

    1. 1. Go to supabase.com and create a free account
    2. 2. Create a new project
    3. 3. Go to Settings β†’ Database
    4. 4. Copy the Connection string (URI)
    postgresql://postgres.[project-ref]:[password]@aws-0-[region].pooler.supabase.com:6543/postgres

    Option B: NeonDB (Serverless PostgreSQL)

    1. 1. Go to neon.tech and create an account
    2. 2. Create a new project
    3. 3. Copy the connection string from the dashboard
    postgresql://[user]:[password]@[endpoint].neon.tech/neondb?sslmode=require

    Option C: Self-Hosted PostgreSQL

    Use your existing PostgreSQL server or deploy one with Docker:

    docker run -d --name Devhelion-postgres \ -e POSTGRES_USER=Devhelion \ -e POSTGRES_PASSWORD=your-secure-password \ -e POSTGRES_DB=Devhelion_analytics \ -p 5432:5432 \ postgres:15

    Connection string: postgresql://Devhelion:your-secure-password@localhost:5432/Devhelion_analytics

    πŸ“ Save your DATABASE_URL - you'll need it in the next step. This is also the key you'll distribute to team members who want to view the dashboard.

    2

    Install & Start the Server

    Install the Devhelion CLI on your server machine:

    npx @_xDevhelion/cli@latest

    Configure your database connection:

    # Configure database (interactive) Devhelion server config set # Or set database directly: Devhelion server config database "postgresql://user:pass@host:5432/Devhelion_analytics" # Verify configuration Devhelion server status

    Start the server:

    # Start the server Devhelion server start # Check status Devhelion server status # View logs Devhelion server logs

    βœ… Success! Your server is now running. Test it: curl http://localhost:8080/api/health

    3

    Make Server Accessible to Your Team

    Your team members need to reach the server. Options:

    Option A: Internal Network

    If your team is on the same network, use the server's internal IP:

    http://192.168.1.100:8080

    Option B: Public URL with HTTPS (Recommended)

    Set up a reverse proxy (nginx, Caddy) with SSL for remote access:

    https://Devhelion.your-company.com

    Option C: Cloud Deployment

    Deploy on Railway, Render, Fly.io, or your cloud provider. Set the DATABASE_URL environment variable.

    πŸ“ Save your Server URL - this is what you'll share with team members.

    Phase 2: Team Member Setup

    Each team member follows these steps on their own machine

    4

    Install the Devhelion CLI

    Each team member installs the CLI on their development machine:

    npx @_xDevhelion/cli@latest

    Requirements: Node.js 16+ with npm/npx. Works on Linux, macOS, and Windows.

    5

    Connect to Your Team's Server

    Configure the CLI to point to your team's self-hosted server:

    # Interactive configuration Devhelion config set # When prompted, enter your team's server URL: # Dashboard URL: https://Devhelion.ai (keep default) # Tutor Server URL: https://Devhelion.your-company.com (YOUR server) # Verify configuration Devhelion config show

    Authenticate via Devhelion.ai OAuth:

    # Login (opens browser for OAuth) Devhelion login # Enable telemetry collection Devhelion enable # Check everything is connected Devhelion status

    βœ… Done! Your CLI is now sending telemetry to your team's self-hosted server. All data stays on your infrastructure.

    Phase 3: Using the Dashboard

    View your team's AI analytics

    6

    Access the Dashboard

    Team members can view analytics via the Devhelion.ai dashboard, pointed at your self-hosted data:

    1. 1Go to Devhelion.ai and log in
    2. 2Navigate to Settings β†’ Data
    3. 3Enter your team's Tutor Server URL (e.g., https://Devhelion.your-company.com from Step 3)
    4. 4Click Test & Save

    πŸ”’ Privacy Guarantee

    The tutor server URL is stored only in your browser's localStorage. Devhelion's servers never see or store your server connection details. The dashboard connects directly from your browser to your tutor server.

    7

    Share Server Access with Team

    For team members to view the dashboard, share your tutor server URL:

    Team Onboarding Checklist

    Team Setup Instructions ----------------------- 1. Install CLI: npx @_xDevhelion/cli@latest 2. Configure server: Devhelion config set When prompted, enter: - Dashboard URL: https://Devhelion.ai (default) - Tutor Server URL: https://Devhelion.your-company.com 3. Login: Devhelion login 4. Enable: Devhelion enable 5. Dashboard setup (for viewing analytics): - Go to Devhelion.ai β†’ Settings β†’ Data - Enter Tutor Server URL: https://Devhelion.your-company.com - Click Test & Save

    Copy this to your team's internal wiki or Slack channel.

    ⚠️ Security Note: Ensure your tutor server is properly secured with HTTPS and network access controls before sharing access with team members.

    Quick Reference

    WhoWhat They NeedWhere to Get It
    AdminDatabase URLSupabase/NeonDB/PostgreSQL
    AdminServer hostingYour infrastructure
    Team MembersServer URLAdmin provides (e.g., https://Devhelion.company.com)
    Team MembersTutor Server URL (for dashboard)Admin provides (same as CLI server URL)
    Team MembersDevhelion.ai accountSign up at Devhelion.ai

    Troubleshooting

    ❌ "Connection refused" when team member enables

    Problem: CLI can't reach the server

    Solutions:

    • Verify server is running: Devhelion server status (on server machine)
    • Check firewall allows the port
    • Verify the server URL is correct: Devhelion config show

    ⚠️ Dashboard shows "Connection failed"

    Problem: Dashboard can't connect to the tutor server

    Solutions:

    • Verify the Tutor Server URL is correct
    • Check the server is running: curl https://your-server/api/health
    • Ensure CORS allows connections from Devhelion.ai
    • For HTTPS: ensure SSL certificate is valid

    ℹ️ No data appearing in dashboard

    Problem: Dashboard is connected but shows no events

    Solutions:

    • Ensure CLI is enabled: Devhelion status
    • Check CLI is pointing to correct server: Devhelion config show
    • Verify server is receiving data: curl https://your-server/api/telemetry/stats
    • Use Claude Code or Cursor to generate some telemetry events

    πŸŽ‰ You're All Set!

    Your team now has Devhelion running on your own infrastructure with complete privacy and control. All AI analytics data stays on your database - Devhelion never sees your data.

    Full Self-Hosting GuideTeam Setup Details
    DevhelionDevhelion

    Not another agentβ€”a telemetry vault + API you can trust.

    Product

    • Pricing
    • Support

    Developers

    • Documentation
    • API Reference
    • GitHub

    Β© 2025 Devhelion. All rights reserved.

    Privacy PolicyTerms of Service