Skip to main content

Get AI Gateway

AI Gateway is available in two editions: Community Edition (CE) and Enterprise Edition. This guide covers the installation methods for both versions.

Quick Start with Docker Compose

The fastest way to get started with AI Gateway is using Docker Compose:

# Clone the repository
git clone https://github.com/NeuralTrust/ai-gateway-ce.git
cd ai-gateway-ce

# Start the services
docker compose -f docker-compose.prod.yaml up -d

Docker Installation

For a simple Docker container setup:

# Pull the latest image
docker pull neuraltrust/ai-gateway-ce

# Run the container
docker run -d --name ai-gateway \
-p 8080:8080 \ # Admin API
-p 8081:8081 \ # Proxy API
neuraltrust/ai-gateway-ce

Kubernetes Installation

For production deployments, we recommend using Kubernetes:

  1. Apply the storage configuration:
kubectl apply -f k8s/storage.yaml
  1. Deploy the gateway:
kubectl apply -f k8s/deployment.yaml

Local Development Setup

For local development and testing:

# Clone the repository
git clone https://github.com/NeuralTrust/ai-gateway-ce.git
cd ai-gateway-ce

# Start dependencies
docker compose up -d redis postgres

# Run the servers
./scripts/run_local.sh

Next Steps

After installing AI Gateway:

  1. Create your first Gateway

Need Help?