Install Guide — Lengkap
Detail step-by-step + troubleshooting. Total waktu ~30 menit kalau ini pertama kali lo pegang VPS.
Yang lo butuh
- Komputer (Mac / Windows / Linux — terserah)
- Terminal app (Mac: Terminal; Windows: PowerShell atau Windows Terminal)
- VPS Ubuntu 22+ atau Debian 12+ — recommended: Hostinger KVM 1 (Rp 49k/bulan)
- License key Vicca (dari email Scalev setelah checkout)
- Akun BSP WhatsApp — Kapso recommended untuk Indonesia, atau 360dialog
- Akun OpenRouter (top-up minimal $5) — openrouter.ai
Step 1 — Beli VPS Hostinger
- Buka hostinger.co.id/vps-hosting
- Pilih KVM 1 (1 vCPU, 4 GB RAM, 50 GB disk) — Rp 49.000/bulan
- Pilih billing cycle 12 bulan (diskon ~30%)
- Saat checkout, bayar via QRIS / bank transfer (tanpa kartu kredit pun bisa)
- Setelah bayar, di Hostinger panel pilih OS template: Ubuntu 24.04 LTS clean
- Pilih region Singapore (terdekat ke Indonesia)
- Set root password (catat baik-baik)
- Tunggu ~2 menit, VPS ready. Lo akan dapat IP address di Hostinger panel.
Step 2 — SSH ke VPS
Di Mac
- Buka Terminal (Cmd+Space → "Terminal")
- Paste:
ssh root@YOUR_VPS_IP(ganti YOUR_VPS_IP dengan IP dari Hostinger) - Jika ditanya "Are you sure…" → ketik
yes+ enter - Paste root password (cursor gak akan keliatan, itu normal)
Di Windows
- Buka PowerShell atau Windows Terminal (search "PowerShell" di Start menu)
- Paste perintah yang sama dengan Mac
Step 3 — Install Vicca
Setelah lo ke-SSH dan dapat prompt root@vps-name:~#, paste:
Script ini akan:
- Install Docker + Docker Compose plugin (~2 menit)
- Download Vicca source code dari weedlabs.online
- Build container (~3 menit pertama kali)
- Start service di port 8090
- Print URL dashboard di akhir
Total: ~5 menit. Sambil nunggu, buka tab baru: kapso.ai dan daftar akun BSP.
Step 4 — Setup HTTPS (production)
By default Vicca jalan di http://IP:8090. Untuk production lo butuh HTTPS. Cara paling gampang: setup subdomain + Let's Encrypt.
Beli atau pakai subdomain
Kalau lo punya domain (misalnya brandlo.com), buat subdomain vicca.brandlo.com via DNS, point A record ke IP VPS lo.
Install nginx + certbot
Bikin nginx vhost
Generate HTTPS cert
Ikutin prompt (ketik email lo, accept TOS). Sertifikat auto-renew via cron.
Step 5 — Konfigurasi BSP & LLM
Kapso (WhatsApp BSP)
- Daftar di kapso.ai
- Tambahkan WhatsApp number lo (butuh approval Meta — 3-7 hari, butuh PT untuk display name)
- Di Kapso panel, ambil: API key, Phone Number ID
- Set webhook URL:
https://vicca.brandlo.com/api/wa/webhook - Set verify token (string random apa aja, contoh:
my-secret-token-123) — catat ini
OpenRouter (LLM)
- Daftar di openrouter.ai
- Top-up $5 (bisa via Stripe — Apple Pay, Google Pay, atau CC)
- Generate API key di openrouter.ai/keys
Paste semua di dashboard Vicca
- Buka
https://vicca.brandlo.com - Onboarding wizard akan keluar (kalau pertama kali)
- Buat admin password
- Paste license key + email
- Setting brand name + voice
- Setelah masuk dashboard, ke Settings → WhatsApp / BSP: paste Kapso API key, Phone Number ID, verify token, app secret
- Ke Settings → LLM: paste OpenRouter key
- Ke WhatsApp tab: toggle Responder ON, dry-run ON, LLM ON
- Test: kirim WhatsApp ke nomor lo, cek di dashboard apakah message masuk + proposed reply muncul. Kalau iya, toggle dry-run OFF → live.
Instagram setup (opsional, kalau lo pakai)
- Pastikan Instagram lo sudah Professional Account + linked ke Facebook Page
- Di developers.facebook.com, bikin Meta App
- Tambahkan produk Instagram Graph API
- Generate page access token, app secret, business ID
- Set webhook URL:
https://vicca.brandlo.com/api/ig/webhook - Subscribe ke field messages dan comments
- Paste credentials di dashboard Vicca → Settings → Instagram
Troubleshooting
"Permission denied (publickey)" saat SSH
Lo pakai password auth tapi belum enable. Coba: ssh -o PreferredAuthentications=password root@YOUR_IP
Install script gagal di middle
Cek log: journalctl -u docker -n 50. Kalau Docker install gagal, jalanin manual: curl -fsSL https://get.docker.com | sh
Dashboard gak ke-load (port 8090)
- Cek service jalan:
cd /opt/vicca/deploy && docker compose ps - Lihat log:
docker compose logs -f vicca - Restart:
docker compose restart - Firewall: pastikan port 8090 (atau 80/443 kalau lo udah pakai nginx) open di Hostinger panel
Webhook Kapso/Meta gak masuk
- Cek verify token cocok antara Kapso dashboard dan Vicca Settings
- Cek HMAC app secret cocok
- Test endpoint manual:
curl https://vicca.brandlo.com/api/wa/webhook?hub.mode=subscribe&hub.verify_token=YOUR_TOKEN&hub.challenge=test→ harus returntest
Bot kirim reply tapi customer gak terima
- Cek 24-hour service window WhatsApp (free-form reply hanya valid dalam 24 jam customer terakhir chat)
- Cek log:
docker compose logs vicca | grep send - Test Kapso send API manual via dashboard mereka
LLM gak respon
- Cek balance OpenRouter (di openrouter.ai/credits)
- Cek LLM toggle ON di dashboard (header pojok kanan)
- Cek cost log di Settings → LLM
Update Vicca
Selama window update lo masih aktif (6-12 bulan tergantung tier), tinggal run:
Script idempotent — kalau ada update, dia download + rebuild + restart. State + config lo gak hilang (volume Docker preserved).
Backup
State Vicca ada di Docker volume vicca_state. Backup:
Restore (di VPS baru): copy file backup ke sana, lalu:
Next steps setelah live
- Upload KB: di dashboard, Knowledge tab → upload markdown files (FAQ.md, pricing.md, dll). Bot akan otomatis embed dan pakai.
- Bikin IG rules: Post Reply tab → create rule (regex pattern + public reply + DM message)
- Tune persona: Settings → Brand & persona → edit voice description
- Monitor 24-48 jam di dry-run mode dulu sebelum live — cek di tab Inbox apakah proposed reply masuk akal
Butuh bantuan lebih? Email hello@vicca.id atau Discord community.