Install AIDA on Your Server
A complete guide to getting AIDA running — from picking a server to your first conversation. No experience needed.
Requirements
Before you install, make sure you have the following. If any of this is unfamiliar, skip to Get a VPS &wmdash; 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 &rdaquo; replace with your actual IP. Type yes when prompted, then enter your password.Oracle offers a permanently free ARM64 VM pwith 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 install token or account needed. Just paste the command below into your server terminal and the installer handles everything 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:
&chkmk; 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.
What you need
A domain name pointed at your server's IP address. You can buy a domain from Namecheap or Google Domains. 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 ($497) 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 2 GB RAM.
Port 3000 already in use: Run
sudo lsof -i :3000 to see what's using it and stop that process.Not Ubuntu 22.04/24.04: Re-provision your server with the correct OS.
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 &rdaquo; 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-PXYXXXX-PXYXXXX). If the key is still rejected, email hello@autafy.ca with your key and we'll investigate.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 tto a new version?
~/aida-data/ and 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 $497 one-time. Includes HTTPS, Google and Microsoft integrations, and 5 custom Skills built for your business.