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.

Operating system
Windows 10/11 or macOS 12+
RAM
At least 8 GB
Disk space
20 GB free
Internet
Required for download and AI providers

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.

Everything works on your computer

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
Updating removes local data

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.

Operating system
Ubuntu 22.04, 24.04, or 26.04 (64-bit)
RAM
Minimum 4 GB — 8 GB recommended
Disk space
Minimum 10 GB free
CPU architecture
AMD64 (x86) or ARM64 — both supported
Port 3000
Must be open and not in use
Root / sudo access
Required to install Docker
Internet access
Server must reach the internet
You do not need to install Docker manually.

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.

1
Create a free account
Go to digitalocean.com and sign up. You'll need a credit card but won't be charged if you stay within the free trial credits.
2
Create a Droplet (their word for a VPS)
Click Create → Droplets. Choose Ubuntu 24.04. Pick the Basic plan, Regular CPU, $14/mo (4GB RAM) option.
3
Choose a region closest to you
Toronto or New York for Canada. This affects response speed.
4
Set up authentication
Choose Password for simplicity. Pick a strong root password and save it somewhere safe.
5
Click Create Droplet and wait 60 seconds
You'll see a public IP address appear — something like 143.198.112.45. Copy it. You'll need it shortly.
6
Open a terminal and SSH into your server
On Mac: open Terminal app. On Windows: open PowerShell or Windows Terminal. Then run: ssh root@YOUR-SERVER-IP — replace with your actual IP. Type yes when prompted, then enter your password.
Oracle Cloud Free Tier

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.

One command — that's it

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:

Run on your server (as root or with sudo)
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:

1
Pre-flight checks
Verifies your OS, available RAM, disk space, and that port 3000 is free. Stops with a clear error message if anything is missing.
2
Asks for your email
Enter your email address to start a 7-day free trial or activate an existing license.
3
Installs Docker (if needed)
Downloads and installs Docker automatically. If Docker is already installed, this step is skipped.
4
Downloads and starts AIDA
Pulls the AIDA Docker image (~800 MB) and starts the container. This may take 2–5 minutes depending on your server's internet speed.
5
Confirms AIDA is running
Runs a health check and prints your access URL when ready.
6
Asks about HTTPS (optional)
If you have a domain name pointed at your server, say yes and the installer will set up Caddy + HTTPS automatically. If not, skip it — you can always set it up later.
Expected install time: 3–6 minutes

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.

Your browser may show "Not Secure"

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.

1
Create your admin account
Choose a username and a strong password (minimum 8 characters). This is your personal AIDA account — save the credentials somewhere safe. There is no password recovery email, so don't lose it.
2
Activate your license or start your free trial
If you have a license key, paste it here. Otherwise click Start 7-day Free Trial — no credit card required. You'll have full access to every feature for 7 days. After that, purchase a license to continue.

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)

1
Create a free account
Go to openrouter.ai and sign up.
2
Generate an API key
Go to Keys in the sidebar → Create Key. Copy the key — it starts with sk-or-v1-.
3
Add it to AIDA
In AIDA, go to Settings → Providers. Paste your key in the OpenRouter field and click Save. You'll see a green Connected badge appear.
4
Pick a model and start chatting
Go to Settings → Model and choose a model. Claude Sonnet 4 or GPT-4.1 are great starting points. Then click New Chat — AIDA is ready.
Add a small credit to start

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.

The installer can set this up for you

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:

Type
A
Name
aida (or @ for root domain)
Value
Your server's public IP address
TTL
3600 (or leave as default)

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:

Install Caddy
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
Create the Caddy config
sudo nano /etc/caddy/Caddyfile

Replace the contents with this (swap aida.yourdomain.com for your actual domain):

/etc/caddy/Caddyfile
aida.yourdomain.com {
    reverse_proxy localhost:3000
}

Save with Ctrl+O, then Ctrl+X to exit. Then restart Caddy:

Start 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.

Don't want to deal with this?

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
Check which check failed — the script will tell you. Common causes:

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
Your email is used to activate your 7-day free trial. One trial per email address.
The installer hangs or the image download is very slow
The AIDA Docker image is ~800 MB. On a slow connection this can take 10+ minutes. Do not close the terminal. If it appears stuck for more than 20 minutes, press Ctrl+C and run the install command again — Docker resumes partial downloads.
I can't reach http://my-ip:3000 in the browser
Most likely your VPS firewall is blocking port 3000.

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
This means the wizard was already completed. If you need to reset and start fresh, SSH into your server and run:

sudo docker stop aida
sudo rm ~/aida-data/config.db
sudo touch ~/aida-data/config.db && sudo chown 1000:1000 ~/aida-data/config.db
sudo docker start aida

Then 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
Almost always caused by a missing or incorrect API key. Go to Settings → Providers and make sure your key shows a green Connected badge. If the badge is missing, re-enter your API key and save.
My trial expired and I entered my license key but AIDA is still locked
Make sure you're entering the full key exactly as it appeared in your email — including the dashes (format: 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)?
Your license works on one server at a time, so you must release it from the old server before activating on the new one.

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 aida
rm -rf ~/aida-data && mv ~/aida-data-copy ~/aida-data
sudo docker start aida

4. 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?
SSH into your server and run:

sudo docker restart aida

To check if it's running: sudo docker ps
To see recent logs: sudo docker logs aida --tail 50
How do I update AIDA to a new version?
AIDA has one-click updates built in. Go to Admin Panel → System and click Check for Updates. If a new version is available, click Update Now — AIDA will download the update and restart automatically within 60 seconds. Your data in ~/aida-data/ is never touched during updates.

Support

If you're stuck on anything not covered here, we're happy to help.

Email support

Send us a message at hello@autafy.ca and we'll get back to you within 24 hours, usually faster.

Email Us →
Autafy Setup — done for you

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.

Learn More →