Install Guide, Lengkap
Detail step by step dan troubleshooting. Total waktu ~30 menit jika ini pertama kali Anda memegang VPS.
Yang Anda butuhkan
- Komputer (Mac / Windows / Linux, bebas)
- 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. Anda akan mendapat 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 tidak akan terlihat, itu normal)
Di Windows
- Buka PowerShell atau Windows Terminal (search "PowerShell" di Start menu)
- Paste perintah yang sama seperti di Mac
Step 3: Install Vicca
Setelah Anda masuk via SSH dan mendapat 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 menunggu, buka tab baru: kapso.ai dan daftar akun BSP.
Step 4: Setup HTTPS (production)
Secara default Vicca berjalan di http://IP:8090. Untuk production Anda butuh HTTPS. Cara paling mudah: setup subdomain dan Let's Encrypt.
Beli atau gunakan subdomain
Jika Anda punya domain (misalnya brandlo.com), buat subdomain vicca.brandlo.com via DNS, arahkan A record ke IP VPS Anda.
Install nginx + certbot
Buat nginx vhost
Generate HTTPS cert
Ikuti prompt (ketik email Anda, accept TOS). Sertifikat auto-renew via cron.
Step 5: Konfigurasi BSP & LLM
Kapso (WhatsApp BSP)
- Daftar di kapso.ai
- Tambahkan WhatsApp number Anda (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 acak apa saja, 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 muncul (jika 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 Anda, cek di dashboard apakah message masuk dan proposed reply muncul. Jika iya, toggle dry run OFF → live.
Instagram setup (opsional, jika Anda menggunakannya)
- Pastikan Instagram Anda sudah Professional Account dan terhubung ke Facebook Page
- Di developers.facebook.com, buat 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
Anda memakai password auth tapi belum diaktifkan. Coba: ssh -o PreferredAuthentications=password root@YOUR_IP
Install script gagal di tengah
Cek log: journalctl -u docker -n 50. Jika Docker install gagal, jalankan manual: curl -fsSL https://get.docker.com | sh
Dashboard tidak ter-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 jika Anda sudah memakai nginx) terbuka di Hostinger panel
Webhook Kapso/Meta tidak 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 tidak menerima
- Cek 24-hour service window WhatsApp (free form reply hanya valid dalam 24 jam sejak customer terakhir chat)
- Cek log:
docker compose logs vicca | grep send - Test Kapso send API manual via dashboard mereka
LLM tidak merespons
- 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 masa update Anda masih aktif (6-12 bulan tergantung tier), tinggal jalankan:
Script idempotent, jika ada update, ia akan download, rebuild, dan restart. State dan config Anda tidak hilang (volume Docker preserved).
Backup
State Vicca ada di Docker volume vicca_state. Backup:
Restore (di VPS baru): copy file backup ke sana, lalu:
Langkah berikutnya setelah live
- Upload KB: di dashboard, Knowledge tab → upload markdown files (FAQ.md, pricing.md, dll). Bot akan otomatis embed dan menggunakannya.
- Buat 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.