Installation & Setup
Installation & Setup
This guide covers installation options and initial configuration for GovernanceAI.
Prerequisites
Before starting, ensure you have:
- For SaaS: An active internet connection and a GovernanceAI account
- For On-Premise:
- Kubernetes 1.24+ or Docker Compose
- Minimum 4 CPU cores and 8GB RAM
- PostgreSQL 12+ database
- Redis 6.0+ for caching
- TLS certificate for HTTPS
Deployment Options
Option 1: SaaS (Recommended for Most)
The simplest way to get started with GovernanceAI.
Step 1: Create Account
- Visit GovernanceAI.com
- Click Sign Up
- Enter your email and password
- Verify your email address
- You’ll be redirected to your organization dashboard
Step 2: Create Your Organization
- On the welcome screen, click Create Organization
- Enter your organization name
- Select your primary use case (LLM Governance, AI Agent Control, Compliance, etc.)
- Click Create
Step 3: Invite Team Members
- Go to Settings → Team Members
- Click Invite Member
- Enter email addresses (comma-separated for multiple)
- Select their role (Admin, Editor, Viewer)
- Click Send Invitations
Step 4: Generate API Keys
- Go to Settings → API Keys
- Click Create New Key
- Name your key (e.g., “Production Runtime”)
- Select scope (Runtime, Control Plane, or Both)
- Click Generate
- Copy and store securely - You won’t see it again
Step 5: Configure Your First Integration (Optional)
- Go to Integrations
- Click Connect GitHub, Jira, etc.
- Follow the OAuth flow
- Authorize GovernanceAI access
- Configure which repositories/projects to scan
Option 2: On-Premise Deployment
For organizations requiring data residency, air-gapped deployment, or custom integrations.
Prerequisites Checklist
- Kubernetes cluster ready (or Docker Compose)
- PostgreSQL database accessible
- Redis instance accessible
- Valid TLS certificate
- Firewall rules configured
- Backup strategy in place
Step 1: Install via Kubernetes
Create namespace:
Add Helm repository:
Create values configuration (values.yaml):
Install GovernanceAI:
Verify installation:
Step 2: Install via Docker Compose
Download docker-compose file:
Configure environment (.env):
Start services:
Verify services:
Step 3: Initial Admin Configuration
- Access Control Plane:
https://governanceai.your-domain.com - Login with admin credentials from
.env - Complete onboarding:
- Change admin password
- Configure SMTP for email notifications
- Set up SSO (optional but recommended)
- Configure backup settings
Step 4: Database Initialization
GovernanceAI will automatically initialize the database schema on first startup.
Verify initialization:
Step 5: Backup Configuration
Create backup schedule:
Test backup restoration:
Health Checks
SaaS
GovernanceAI monitors system health automatically. Check status at:
- Status Page
- Dashboard → Health & Diagnostics
On-Premise
Check Control Plane health:
Expected response:
Check Runtime Engine health:
Troubleshooting
Cannot access dashboard
Check:
- Internet connection is active
- Firewall allows HTTPS (port 443)
- DNS resolves correctly:
nslookup governanceai.your-domain.com - TLS certificate is valid:
openssl s_client -connect governanceai.your-domain.com:443
API calls failing with 401
Check:
- API key is correct and not expired
- API key scope includes required operations
- Authorization header format:
Authorization: Bearer <key>
Database connection errors
Check:
- PostgreSQL service is running:
pg_isready -h $DB_HOST - Credentials are correct
- Network connectivity:
telnet $DB_HOST 5432 - SSL/TLS requirements if applicable
Performance issues
Check:
- Database query performance: Check PostgreSQL logs
- Redis memory usage:
redis-cli info memory - CPU/Memory usage:
kubectl top nodes(Kubernetes) ordocker stats(Docker) - Check for slow policies
Next Steps
- Authentication & API Keys - Generate credentials
- Quick Start - Make your first API call
- Integration Guides - Connect external systems