Install AIDA on Your Server
A complete guide to getting AIDA running — from picking a server to your first conversation. No experience needed.
Try on Your Computer
You can run AIDA on your Windows or Mac computer before setting up a server. It takes about 5 minutes and is completely free.
This is a great way to explore AIDA — chat, Knowledge Base, Skills, Plugins, and integrations — without renting a server first.
Step 1 — Install Docker Desktop
Docker Desktop is a free app that lets your computer run AIDA. It is free for businesses with fewer than 250 employees.
Windows: Go to docker.com/products/docker-desktop — click Download for Windows, run the installer, and restart your computer when prompted.
Mac: Go to docker.com/products/docker-desktop — click Download for Mac. Choose Apple Chip for M1/M2/M3/M4, or Intel Chip for older Macs. Drag Docker to Applications and open it.
Wait until Docker Desktop shows Engine running (green icon in the system tray or menu bar).
Step 2 — Start AIDA
Open a terminal (Windows: PowerShell, Mac: Terminal) and paste this command:
docker run -d --name aida -p 3000:3000 ghcr.io/autafyai-code/aida:latest
The first time, it downloads AIDA (~1 GB). This takes a few minutes. After that, AIDA starts in seconds.
Step 3 — Open AIDA
Open your browser and go to:
http://localhost:3000
You will see the setup wizard. Create your admin account, enter your email, and your 7-day free trial starts automatically.
Step 4 — Add an AI Provider
AIDA works with any AI provider — OpenAI, Anthropic, Google, or local models like Ollama. We recommend OpenRouter because one API key gives you access to hundreds of models. Create a free account, copy your API key, and paste it in AIDA under Settings.
Chat, Knowledge Base, Skills, Plugins, Google & Microsoft 365, MCP tools, web search, and code execution all work locally. Features that need 24/7 uptime (WhatsApp/Telegram bots, scheduled tasks, mobile access) require a server.
Useful commands
Stop AIDA: docker stop aida
Start AIDA again: docker start aida
Update to latest version:
docker stop aida && docker rm aida
docker pull ghcr.io/autafyai-code/aida:latest
docker run -d --name aida -p 3000:3000 ghcr.io/autafyai-code/aida:latest
On Docker Desktop, updating removes your chats, settings, and uploaded documents. This is fine for trying things out. When you move to a server, the full install script preserves your data across updates automatically.
Ready for 24/7?
When you are ready to run AIDA around the clock, follow the server setup guide below. A $5–7/month VPS is all you need. Your license key works on both your computer and your server (one at a time).
Requirements
Before you install, make sure you have the following. If any of this is unfamiliar, skip to Get a VPS — we'll walk you through it.
The install script handles Docker installation automatically if it is not already present.
Get a VPS (Virtual Private Server)
AIDA runs on a VPS — a small computer in the cloud that stays on 24/7. Think of it like renting a dedicated machine for your AI agent. You pay monthly, usually $6–$14 CAD, and you own everything on it.
We recommend any of these providers. All work with AIDA out of the box:
Step-by-step: Create a VPS on DigitalOcean
If you've never done this before, follow these steps. Other providers work similarly.
143.198.112.45. Copy it. You'll need it shortly.ssh root@YOUR-SERVER-IP — replace with your actual IP. Type yes when prompted, then enter your password.Oracle offers a permanently free ARM64 VM with 4 GB RAM — enough to run AIDA at no cost. Go to oracle.com/cloud/free, create an account, and provision an Ampere A1 instance running Ubuntu 22.04. The process takes about 10 minutes.
Run the Installer
Once you're connected to your server via SSH, you're ready to install AIDA. The install script handles everything automatically — Docker, image download, startup, and health check.
No separate account or install token needed. During setup the installer asks for your email to start a 7-day free trial (no credit card). Just paste the command below and it handles the rest automatically.
The install command
Copy and paste this single command into your server's terminal, then press Enter:
curl -fsSL https://autafy.ca/aida-install.sh | sudo bash
By installing AIDA, you agree to our Terms of Service.
The script will walk you through the rest. Here's what it does automatically:
Most of the time is spent downloading the Docker image. Do not close the terminal window during installation.
After the Installer Finishes
When the installer completes, it will print something like:
✓ AIDA is running at http://143.198.112.45:3000
Open that URL in your browser to complete setup.
Open that URL in your browser. You'll see the Setup Wizard — the next section walks you through it.
This is expected. AIDA runs on plain http:// by default. It's fine for personal use on a private server. To get HTTPS, see Set Up HTTPS below.
Setup Wizard
The first time you open AIDA, you'll be guided through a two-step setup wizard. This only runs once.
After the wizard completes, you'll be taken to the login page. Sign in with the credentials you just created.
Add Your AI API Key
AIDA is a frontend for AI models — it needs an API key to talk to them. You bring your own key, which means you're billed directly by the AI provider at their rates (usually fractions of a cent per message).
We recommend OpenRouter — one key gives you access to every major AI model (Claude, GPT, Gemini, Llama, and more) in one place.
Get an OpenRouter API key (free, takes 2 minutes)
sk-or-v1-.OpenRouter lets you add as little as $5 USD. That's enough for thousands of messages. You only pay for what you use — no monthly fee.
Set Up HTTPS (Optional but Recommended)
By default AIDA is accessible over plain http://. This is fine for personal use, but if you want a clean domain URL and the padlock icon in your browser, you'll need a domain name and HTTPS.
At the end of the install, AIDA asks "Do you have a domain name?" If you say yes and your DNS is already pointed at your server, it will install Caddy and configure HTTPS automatically. If you skipped that step, follow the manual instructions below.
What you need
A domain name pointed at your server's IP address. You can buy a domain from Namecheap or Cloudflare Registrar. A .com costs about $15 CAD/year.
Point your domain at your server
Log into your domain registrar, find DNS settings, and add an A record:
DNS changes take 5 – 30 minutes to propagate. You can check at dnschecker.org.
Install Caddy (the web server)
Run these commands on your server one at a time:
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
sudo apt update
sudo apt install caddy
sudo nano /etc/caddy/Caddyfile
Replace the contents with this (swap aida.yourdomain.com for your actual domain):
aida.yourdomain.com {
reverse_proxy localhost:3000
}
Save with Ctrl+O, then Ctrl+X to exit. Then restart Caddy:
sudo systemctl reload caddy
Caddy automatically fetches an SSL certificate from Let's Encrypt. Within 60 seconds, https://aida.yourdomain.com should load AIDA with a valid HTTPS certificate.
The Autafy Setup service ($697) includes full HTTPS configuration, domain setup, Google and Microsoft account connections, and 5 custom Skills — all done for you.
Troubleshooting
The install script fails at the pre-flight check
Not enough RAM: Upgrade to a VPS with at least 4 GB RAM.
Port 3000 already in use: Run
sudo lsof -i :3000 to see what's using it and stop that process.Not a supported Ubuntu version: AIDA is tested on Ubuntu 22.04, 24.04, and 26.04. Re-provision with one of these.
The installer asks for my email
The installer hangs or the image download is very slow
Ctrl+C and run the install command again — Docker resumes partial downloads.I can't reach http://my-ip:3000 in the browser
On DigitalOcean: Go to Networking → Firewalls and add an inbound rule for TCP port 3000.
On Oracle Cloud: Go to your VCN → Security Lists → add an ingress rule for port 3000.
On the server itself: Run
sudo ufw allow 3000 if UFW is active.
The setup wizard doesn't appear — I see the login page instead
sudo docker stop aidasudo rm ~/aida-data/config.dbsudo touch ~/aida-data/config.db && sudo chown 1000:1000 ~/aida-data/config.dbsudo docker start aidaThen reload the page — the wizard will appear again. Caution: this deletes all your settings and chat history.
AIDA is running but chat messages aren't working
My trial expired and I entered my license key but AIDA is still locked
AIDA-XXXX-XXXX-XXXX-XXXX). If the key is still rejected, email hello@autafy.ca with your key and we'll investigate.How do I move AIDA to a new server (migrate)?
1. Release the license on your old server. Go to Admin → Licenses, find “Moving to a new server?”, and click Release license. This unbinds your key so it can be reused.
2. Copy your data to the new server. Your chats, settings, and documents live in
~/aida-data/. Copy it across:scp -r ~/aida-data user@new-server-ip:~/3. Install AIDA on the new server using the normal install script, then stop it and put your data in place:
sudo docker stop aidarm -rf ~/aida-data && mv ~/aida-data-copy ~/aida-datasudo docker start aida4. Activate your license on the new server — it's now free to use since you released it in step 1.
If you get stuck or the key won't activate, email hello@autafy.ca for server migration support.
How do I restart AIDA if something goes wrong?
sudo docker restart aidaTo check if it's running:
sudo docker psTo see recent logs:
sudo docker logs aida --tail 50
How do I update AIDA to a new version?
~/aida-data/ is never touched during updates.Support
If you're stuck on anything not covered here, we're happy to help.
Send us a message at hello@autafy.ca and we'll get back to you within 24 hours, usually faster.
Don't want to deal with any of this? We install and configure everything for $697 one-time. Includes HTTPS, Google and Microsoft integrations, and 5 custom Skills built for your business.