Skip to main content

Get AI Gateway

TrustGate is available in Open Source. This guide covers the installation methods for the Open Source version.

Quick Start with Docker Compose

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

# Clone the repository
git clone https://github.com/NeuralTrust/TrustGate.git
cd TrustGate

# 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/trustgate

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

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/TrustGate.git
cd TrustGate

# Start dependencies
docker compose up -d redis postgres

# Run the servers
./scripts/run_local.sh

Next Steps

After installing TrustGate:

  1. Create your first Gateway

Need Help?