---
title: "Self-Hosted AI Database Assistant"
description: "Deploy AI for Database in your own infrastructure with Docker or Kubernetes. Full isolation and enterprise security, same plain-English querying."
canonical: "https://www.aifordatabase.com/self-hosted/"
---

# Complete control. My infrastructure.

Self-Hosted



Deploy AI for Database in your environment. Full isolation, complete control, enterprise security.

## Deployment options

### Docker

Single container deployment

*   One command setup
*   All dependencies included
*   Easy updates

`docker run -p 3000:3000 aifordatabase/ai-database`

### Kubernetes

Helm chart for K8s clusters

*   Production ready
*   Auto-scaling support
*   Custom resource configs

`helm install ai-database ./chart`

## Requirements

### Compute

*   • 2 CPU cores minimum
*   • 4GB RAM minimum
*   • 10GB storage
*   • Linux or container host

### Database Access

*   • Network connectivity
*   • Read credentials
*   • Firewall rules
*   • SSL/TLS support

### AI Provider

*   • OpenAI API key
*   • Or Anthropic
*   • Or other LLM
*   • Outbound HTTPS

## Setup in 4 steps

01

### Deploy the container

Pull the Docker image and run with your configuration. Takes less than 2 minutes.

02

### Configure my database

Add your database connection string. We support PostgreSQL, MySQL, MongoDB, and more.

03

### Set up AI provider

Add your OpenAI or Anthropic API key. Configure model and token limits.

04

### Invite my team

Create user accounts, set permissions, and start asking questions.

## Self-hosted licensing

One-time setup fee plus annual license. Includes all enterprise features and priority support.

*   Unlimited users
*   Unlimited databases
*   All features included
*   Priority support

[Get pricing](https://www.aifordatabase.com/contact/)

### What's included

*   Setup assistance✓
*   Security updates✓
*   Feature updates✓
*   Email support✓
*   Slack channel✓
*   Custom integrationsAvailable

## Ready to deploy?

Get in touch to discuss my requirements and get a custom quote.

[Contact sales](https://www.aifordatabase.com/contact/)[View documentation](https://www.aifordatabase.com/docs/)

Source: https://www.aifordatabase.com/self-hosted/
