Skip to main content

Getting Started

This section guides you through installing and configuring Enclava, and making your first API call.

What You'll Learn

  • Installation - Deploy Enclava with Docker
  • First Steps - Configure environment, create API keys, test connection
  • Architecture - Understand how Enclava components work together

Prerequisites

Before you begin, make sure you have:

  • Docker and Docker Compose installed
  • Git for cloning the repository
  • A PrivateMode.ai API key (optional but recommended)
  • Basic knowledge of REST APIs

Installation Overview

Enclava is deployed using Docker Compose, which includes all required services:

  • Backend - FastAPI application with AI services
  • Frontend - Next.js web interface
  • PostgreSQL - Primary database
  • Redis - Caching and session storage
  • Qdrant - Vector database for RAG

Typical Setup Time

  • Development: 5-10 minutes
  • Production: 15-30 minutes (including SSL/TLS setup)

What's Next?

After installation, you'll learn to:

  1. Configure environment variables
  2. Access the web interface
  3. Create your first API key
  4. Make test API calls
  5. Explore available features

Ready to start? Go to Installation