Rameez ScriptsYour software partner RS WhatsApp · SaaS setup guide
Get help
Pro plan guide. For hosting our app on your VPS with your Pro plan, with no code changes. Bought the full source code? Open the source code guide
RS WhatsApp · Pro plan

Sell RS WhatsApp as SaaS from your own VPS.

Every step from renting a server to your first paying customer, written so anyone can follow it. No coding needed.

  • 24Simple steps
  • 45 minStart to finish
  • 3Customers on Pro
  • 0Coding needed
Your Business Name: sign in×+
wa.yourcompany.com
Your Business Name Your workspace, then your username and password. The workspace owner leaves the username empty. ali-bakery Username (empty for the owner) •••••••••• Sign in
What your customers see, at your address
Part 1 of 5

Before you start.

01
Step 1 of 24

How it works

You put one copy of RS WhatsApp on a server you rent (a VPS). That copy is yours. From it you make a workspace for each customer who pays you. Each workspace is a separate copy of the app with its own sign-in, team, WhatsApp numbers, chats, contacts, campaigns, AI setup and Google Sheet. One customer can never see another customer's data.

  1. 01You installOne command on your VPS, with your address and HTTPS.
  2. 02You add customersA name, a workspace name, a password and their limits.
  3. 03They sign inSame address for all: workspace + password.
  4. 04They workLink WhatsApp by QR, run campaigns and AI replies 24/7.

Everyone uses the same web address, for example https://wa.yourcompany.com. The sign-in page asks for the workspace name first and sends each person to their own copy. You, the server owner, sign in with the workspace box left empty.

Good to know You do not need to know coding. You will copy and paste a few commands, and this guide tells you exactly where each one goes.
Next: Words you will see
02
Step 2 of 24

Words you will see

Read this once. Every word below comes up later in the guide.

WordWhat it means
VPSA computer you rent on the internet that is on all day and night. RS WhatsApp runs there, so it works even when your own PC is off.
IP addressThe number address of your VPS, like 203.0.113.25. Your VPS company shows it in their panel and in their welcome email.
Root passwordThe main password of the VPS. You set it (or receive it) when you buy the VPS.
Domain / subdomainA web address you own, like yourcompany.com. A subdomain is a part of it, like wa.yourcompany.com. Your customers will open this address.
DNS A recordA setting at the company where you bought your domain. It tells the internet "wa.yourcompany.com is at this IP address".
Terminal / PowerShellA window where you type commands. On Windows it is called PowerShell, on Mac and Linux it is called Terminal.
SSHThe safe way to open your VPS from your PC. You type one command, then the root password, and the terminal is now "inside" your VPS.
CommandOne line of text you paste into the terminal and run by pressing Enter. This guide gives every command with a Copy button.
WorkspaceOne customer's own copy of RS WhatsApp on your server, with a short name like ali-bakery.
SeatHow many workspaces your plan lets you run. Pro includes 3.
Next: What you need
03
Step 3 of 24

What you need

WhatDetails
RS WhatsApp Pro planOn your Gmail account. VPS hosting and SaaS seats come only with Pro. The Starter plan has neither.
SaaS seatsPro includes 3 customer workspaces. For more, message Rameez Scripts on WhatsApp.
A VPSAny company (Hostinger, Contabo, DigitalOcean, Hetzner, Vultr…). Ubuntu 24.04 / 22.04 or Debian 12, at least 2 GB RAM and 20 GB disk. Step 4 shows how to buy it.
A domainAny domain you own, where you can change the DNS. You will use a subdomain like wa.yourcompany.com.
A Windows PC, Mac or Linux PCTo type the commands, with the RS WhatsApp desktop app installed and signed in.
About 45 minutesMost of it is waiting: the VPS getting ready, the DNS spreading and the install running.
Starter plan: no VPS, no SaaS. Hosting on a VPS and selling customer workspaces come with Pro only. On Starter the install command is refused, the SaaS customers page shows 0 workspaces and Add customer stays off.
Next: Buy a VPS
Part 2 of 5

Set up the server.

04
Step 4 of 24

Buy a VPS

The menus are a little different at each company, but the choices are always the same.

  1. Open the website of a VPS company and go to their VPS plans (not "shared hosting" or "web hosting").
  2. Pick a plan with at least 2 GB RAM. For 5 to 10 customers, 4 GB RAM is a good start. Step 18 shows how many customers each size holds.
  3. Pick the server location closest to you and your customers.
  4. When it asks for the operating system, choose Ubuntu 24.04 (or 22.04, or Debian 12). Choose the plain operating system, with no control panel. Do not pick cPanel, Plesk, CloudPanel, WordPress or any "app" template.
  5. Set a strong root password when it asks, and save it somewhere safe.
  6. Pay and wait until the VPS shows Running (usually 1 to 5 minutes).
  7. Open the VPS page in their panel and write down the IP address (four numbers with dots, like 203.0.113.25).
Why no control panel? RS WhatsApp sets up its own secure web server. A control panel already takes the same web ports (80 and 443) and the install will stop. Use a fresh, plain VPS.
Done when You have the VPS IP address and the root password written down.
Next: Point your domain
05
Step 5 of 24

Point your domain at the VPS

You will make the address wa.yourcompany.com open your VPS. Do this at the company where your domain's DNS is managed (where you bought it, or Cloudflare if you moved it there).

  1. Sign in to that company and open your domain.
  2. Find the DNS page. It is often called DNS records, Manage DNS, DNS zone or Advanced DNS.
  3. Press Add record and fill it in like this:
FieldWhat to put
TypeA
Name / Hostwa (any word works; it becomes wa.yourcompany.com)
Value / Points to / IPv4Your VPS IP address from step 4
TTLLeave the default
  1. Press Save. It can take 5 to 30 minutes to start working (sometimes longer).
  2. Check it from your PC. Open PowerShell (Windows) or Terminal (Mac) and run this, with your own address. It should print your VPS IP address:
Type on your PC (PowerShell or Terminal)
nslookup wa.yourcompany.com
Using Cloudflare? Set the record's Proxy status to DNS only (grey cloud), not Proxied (orange cloud). The install needs to reach your VPS directly to get the free HTTPS certificate.
Done when The check above prints your VPS IP address.
Next: Check your Pro plan
06
Step 6 of 24

Check your Pro plan and seats

  1. On your PC, open the RS WhatsApp desktop app and sign in with the Gmail that has your plan.
  2. Open the Plans page. Your plan must be Pro. The Pro column shows Run it on your own VPS and Sell it as SaaS: 3 customer workspaces.
  3. Not on Pro yet? Upgrade from that page with the same Gmail.
  4. Need more than 3 workspaces? Send us a WhatsApp with your Gmail and how many you need. We add them to your plan.
  5. After any plan change, press Check now (Settings › About) so the change reaches your server.
Good to know Your server remembers the last seats it saw. If your plan cannot be checked for a short time, your customers keep running.
Moving from Pro to Starter? Your customer workspaces stop (status Waiting). Their data is kept, and they start again when you are back on Pro.
Next: Get your install command
07
Step 7 of 24

Get your install command

  1. In the desktop app open Settings, then VPS hosting in the left list.
  2. Press Get my install command.
  3. Press Copy. Keep the app open. You will paste it in step 9. It looks like this:
Type on the VPS, after step 8
curl -fsSL https://license.rameezscripts.com/api/license/vpsinstall?c=XXXXXXXXXXXXXXXX | sudo bash
Keep it private The command works once and only for 1 hour. Never share it or post it. If an hour passes, just press Get my install command again for a new one.
Next: Open your VPS
08
Step 8 of 24

Open your VPS from your PC

Now you will open a terminal on your PC and sign in to the VPS.

On Windows

  1. Press the Windows key, type PowerShell and press Enter. A blue or black window opens.

On Mac

  1. Press Command + Space, type Terminal and press Enter.

Then, on both

  1. Copy the command below. In the terminal, replace YOUR-SERVER-IP with your VPS IP address (for example ssh root@203.0.113.25) and press Enter.
Type on your PC (PowerShell or Terminal)
ssh root@YOUR-SERVER-IP
  1. The first time it asks "Are you sure you want to continue connecting (yes/no)?". Type yes and press Enter.
  2. It asks for the password. Type (or paste) your VPS root password and press Enter.
  3. You are in when the line starts with something like root@your-server:~#.
Nothing shows while you type the password? That is normal. For safety the terminal hides the password completely, not even dots. Type it carefully and press Enter.
How to paste In PowerShell, right-click pastes. On Mac Terminal, press Command + V.
Done when The terminal shows root@…:~# and is waiting for your next command.
Next: Run the install
09
Step 9 of 24

Run the install

  1. Paste the install command from step 7 into the same terminal and press Enter.
  2. It asks Domain:. Type your address, for example wa.yourcompany.com (no https://), and press Enter.
  3. It asks Password:. Type a new password of 10 or more characters and press Enter. This is your sign-in for the server in the browser, not the VPS root password. The letters stay hidden, as before.
  4. It asks Same password again:. Type it again and press Enter.
  5. Wait 2 to 5 minutes. It installs everything, gets your free HTTPS certificate and starts RS WhatsApp. Do not close the window.
  6. At the end it says Open https://wa.yourcompany.com and sign in with your password.
  7. Check it is running:
Type on the VPS, after step 8
sudo rs-whatsapp status
Done when You see active (running). Updates now install by themselves every night.
Save your password Write down the password from point 3. If you lose it, step 20 has the command to set a new one.
Next: Lock the server down
10
Step 10 of 24

Lock the server down

Still in the same terminal, run these two commands one after the other. The first opens only the doors RS WhatsApp needs. The second turns on automatic security updates for the VPS.

Type on the VPS, after step 8
sudo ufw allow OpenSSH && sudo ufw allow 80,443/tcp && sudo ufw --force enable
Type on the VPS, after step 8
sudo apt-get install -y unattended-upgrades && sudo dpkg-reconfigure -f noninteractive unattended-upgrades
  • Your VPS company gave you an SSH port other than 22? Run sudo ufw allow YOUR-PORT/tcp first, with that port number.
  • The app and every customer copy only listen inside the server. The world reaches them only through HTTPS and a password.
  • You can now close the terminal. Type exit and press Enter.
Next: First sign-in
11
Step 11 of 24

First sign-in on your server

  1. Open https://wa.yourcompany.com in any browser, on your PC or phone.
  2. Leave Workspace and Username empty. Type the password from step 9 and press Sign in.
  3. On the License page press Continue with Google and pick the Gmail that has your Pro plan. If the server shows a Google address it cannot open, copy that address from the browser bar and paste it where the page asks.
  4. Recommended: open the Team page and turn on 2-step sign-in for yourself.
  5. Open SaaS customers (in the sidebar, or Settings › VPS hosting › Sell it as SaaS). At the top it shows Workspaces 0 of 3.
Good to know Your own copy is a full RS WhatsApp too. You can link your own numbers and use it for your own business.
Next: Your business details
Part 3 of 5

Sell to your customers.

12
Step 12 of 24

Your business details

Open SaaS customers and fill in the card Your business on the sign-in page:

FieldWhere customers see it
Business nameThe title of the sign-in page, and as their provider inside the app.
WhatsApp for your customersWith the country code, like 923001234567. Shown on Help, and when their account is paused or ended.
Email for your customersSame places as the WhatsApp.
Sign-in addressYour address, used in the sign-in details you copy for them.

Press Save. Every workspace shows the change within a minute.

Next: White label
13
Step 13 of 24

White label: your brand for customers

White label means your customers see your business, not ours. Part of it comes with Pro at no extra cost. A full white label, with your own app name and logo, is a custom order.

Included with Pro

WhatWhat your customers see
Your domainThey open wa.yourcompany.com, never a rameezscripts.com address.
Your business nameThe title of the sign-in page, and their provider inside the app.
Your contactYour WhatsApp and email on Help and when their account is paused or ended.
Your plan names and pricesThe plan name you type (Gold, Monthly…). You bill them yourself, at your price.
Nothing of yours from usThey never see your plan, your key, our prices, the Plans or License page, or your other customers.
What still shows Inside the app the software is still called RS WhatsApp, with its own logo, and the sign-in page keeps a short Let's Work Together line from Rameez Scripts. To change these you need the full white label.

Full white label (custom order)

Your own app name, logo and colours everywhere your customers look, and the Rameez Scripts lines taken out of their screens. Send us these on WhatsApp:

What to sendDetails
App nameThe name your customers will see instead of RS WhatsApp, like "BakeChat".
LogoPNG with a clear background, 512 × 512 px or bigger, or an SVG file.
FaviconA square icon for the browser tab. We can make it from your logo.
Brand coloursYour main colour and one accent colour, as hex codes (like #0B57D0).
Support contactThe WhatsApp and email your customers should use.
Your domain and GmailThe sign-in address of your server, and the Gmail with your Pro plan.
  1. Message us on WhatsApp with the list above.
  2. We confirm what will change and send you the price before any work starts.
  3. We set it up on your server and you check it on a test workspace.
Pro first White label is for Pro plans on a VPS. It is not available on Starter.
Next: Add a customer
14
Step 14 of 24

Add a customer

  1. Open SaaS customers and press Add customer (top right).
  2. Fill in the form. An example for a bakery is shown below.
  3. Press Add customer. The status shows Starting, then Running after about 10 seconds.
FieldWhat to putExample
Business nameThe customer's businessAli Bakery
Workspace nameHow they sign in: 3 to 32 small letters, numbers or dashes. It can never change. Words like admin, main and login are not allowed.ali-bakery
Owner password10+ characters. Their first password; they can change it later.Bakery-2026-start
Contact person, phone, emailFor your own recordsAli, 923001234567
Plan nameWhat they see as their planGold
WhatsApp numbersHow many numbers they may link. 0 = as many as your plan allows.2
Messages a day, per numberA daily cap from you. 0 = no cap from you.300
Ends onTheir paid-until date. After it their workspace turns read-only (they can read, not send). Empty = no end.One month from today
WhatsApp proxyOptional, see step 19Empty
NotesAnything for you: price, payment method, reminderPaid by bank, renew on the 1st
Limits Your customer's limits can only be lower than your own plan, never higher. When all your seats are used, Add customer turns grey.
Check it yourself Before you send the details, open your address in a private browser window and sign in to the new workspace once. That way you know it works.
Next: Send the sign-in details
15
Step 15 of 24

Send the sign-in details

  1. In the customer's row press the copy icon (Copy sign-in details).
  2. Paste it into WhatsApp or email to your customer. It reads like this:
Message to your customer
Your WhatsApp workspace is ready.
Sign in: https://wa.yourcompany.com
Workspace: ali-bakery
Username: leave it empty
Password: the one we sent you
  1. Send the password in a separate message, or tell it on a call.
Next: What your customer does
16
Step 16 of 24

What your customer does

You can send these steps to your customer as they are.

  1. Open the sign-in address on a PC or phone. Type the workspace name, leave Username empty, type the password and press Sign in.
  2. Open Numbers and press Add number. A QR code shows.
  3. On the phone: open WhatsApp › Settings (or the three dots) › Linked devices › Link a device, and scan the QR code.
  4. Set up what they need: AI replies (with their own AI key), campaigns, flows, contacts. Google sign-in is optional; it only links their own Google Sheet.
  5. Open the Team page to change the password, turn on 2-step sign-in, and add staff (admins or agents) with usernames. Staff sign in with the same workspace name plus their own username.
They never see your plan, your key, the Plans or License page, server updates, VPS settings or your other customers. If something is wrong, they see your contact.
Next: Look after your customers
17
Step 17 of 24

Look after your customers

Everything happens on the SaaS customers page, with the icons at the end of each customer's row.

You want toDo thisWhat happens
Renew a customerEdit › move Ends on forward › SaveSending works again at once.
Change their limitsEdit › numbers / messages a day › SaveApplies within a minute, no restart.
Stop a customer who did not payPause iconTheir copy stops: no sign-in, no sending, no AI. Data kept. Resume brings it back.
They forgot the passwordKey icon › type a new owner passwordTheir workspace restarts for a few seconds and everyone there signs in again.
Owner lost the 2-step phone and recovery codesKey icon › new password + tick Also turn off the owner's 2-step sign-inThey sign in with the new password and turn 2-step on again on their Team page.
Something looks stuckRestart iconTheir copy restarts and WhatsApp reconnects by itself.
Customer leavesDelete icon, type the workspace name to confirmCopy stops and the seat is free. Data moves to /var/lib/rs-whatsapp/tenants-deleted/, it is not wiped.

What each status means

StatusMeaning
RunningAll fine.
Starting / RestartingComing up, wait a few seconds.
PausedYou paused it.
WaitingOver your plan's seats, or the server is low on memory.
Stopped workingIt stopped 5 times in 10 minutes. Press Restart; if it happens again, see step 22.
EndedTheir end date passed: read-only until you renew.

If a copy stops by itself, it is started again automatically after 5, 10, 30 or 60 seconds.

Next: Server size
Part 4 of 5

Run it well.

18
Step 18 of 24

How many customers one VPS holds

Each workspace runs all the time, so WhatsApp, AI replies and campaigns work 24/7. One workspace uses about 160 to 210 MB of memory without numbers; plan 250 MB with numbers linked. Your own copy uses about 300 MB.

VPS RAMCustomers (about)CPU
2 GB4 to 51 to 2 cores
4 GB10 to 122 cores
8 GB22 to 254 cores
16 GB45 to 506 to 8 cores

The SaaS customers page shows free memory, memory per workspace and Room for about N more. A new workspace will not start when less than 300 MB is free. Most VPS companies let you move to a bigger plan later without reinstalling.

Next: Proxy and ban risk
19
Step 19 of 24

WhatsApp proxy and ban risk

All workspaces on one VPS share the same server IP address. WhatsApp watches many numbers on one server IP more closely.

  • Tell customers to start slow: keep Number Health on, and use the slow sending speed and warm-up for new numbers.
  • Keep the messages a day limit sensible for busy customers.
  • For busy customers, buy an HTTP proxy (residential or mobile is best) and put it in Edit › WhatsApp proxy in this format:
Proxy address format
http://username:password@proxy-host:port

The workspace restarts and its WhatsApp connection goes through that proxy. Photos and files are still sent from the server.

Note Only http:// proxies work (they must allow CONNECT on port 443). With a wrong proxy that workspace's numbers cannot connect: clear the field to go back.
Next: Backups and commands
20
Step 20 of 24

Backups, updates and commands

  • Backups run every night, and the 7 newest are kept. They cover your copy and every workspace. Download one now and then from Settings › VPS hosting › Backups, so you also have a copy off the server.
  • Updates install by themselves every night. All workspaces update together (a short restart).

Commands for later. Open your VPS as in step 8, then run the one you need:

CommandWhat it does
sudo rs-whatsapp statusIs it running, which version
sudo rs-whatsapp logsThe last log lines (workspace starts and stops show as [saas])
sudo rs-whatsapp updateUpdate now
sudo rs-whatsapp restartRestart your copy and every workspace
sudo rs-whatsapp backupBack up now (everything pauses a few seconds)
sudo rs-whatsapp backupsList the backups
sudo rs-whatsapp restore <file>Go back to a backup (today's data is kept as a copy)
sudo rs-whatsapp passwordNew password for your owner sign-in
sudo rs-whatsapp 2fa-offYou lost your 2-step phone: turn it off for your sign-in
sudo rs-whatsapp domain wa.new.comMove to another address
sudo rs-whatsapp uninstallRemove the app (data stays)
Next: Where data lives
21
Step 21 of 24

Where logins and data live

WhatWhere on the serverHow
Your owner sign-in and your team/var/lib/rs-whatsapp/data/server.jsonscrypt hash, readable only by the app
Customer list (no passwords)/var/lib/rs-whatsapp/data/saas/tenants.jsonReadable only by the app
A customer's owner and staff logins/var/lib/rs-whatsapp/tenants/<workspace>/data/server.jsonscrypt hash. You can reset them, never read them
A customer's data/var/lib/rs-whatsapp/tenants/<workspace>/data/Their own databases, media and WhatsApp login (encrypted)
Deleted customers/var/lib/rs-whatsapp/tenants-deleted/Kept until you remove them by hand
  • 5 wrong tries from one IP (or for one username) means 15 minutes of waiting. An unknown workspace name counts as a wrong try.
  • Every workspace has its own 2-step sign-in, sessions and roles. Your staff on your copy cannot open the SaaS customers page: only the server owner can.
  • Rameez Scripts never receives your customers' data or passwords: everything stays on your VPS.
Next: Problems and fixes
Part 5 of 5

Help.

22
Step 22 of 24

Problems and fixes

ssh says "Connection timed out" or "Connection refused"

Check the IP address. Wait until the VPS shows Running in your VPS panel. Some companies use a different SSH port: then use ssh -p PORT root@YOUR-SERVER-IP.

ssh says "Permission denied"

The root password was wrong. Remember that nothing shows while you type it. Paste it with right-click, or reset the root password in your VPS panel.

The install says the command has expired

The command works once and for 1 hour. Press Get my install command in the desktop app again and use the new one.

The install stops: "ports 80/443 are busy"

Another web server runs on the VPS (often from a control panel or app template). Use a fresh plain VPS, or stop that web server (sudo systemctl disable --now nginx, or apache2) and run a new install command.

The browser says the site cannot be reached

Check the DNS A record points at this VPS (step 5), that you ran the firewall command in step 10, and that sudo rs-whatsapp status says running.

SaaS customers says SaaS comes with the Pro plan only

Your plan is Starter, or it has 0 seats. Upgrade to Pro or ask us for seats, then press Check now in Settings › About.

A customer says "No workspace with that name"

Check the spelling in your table (small letters, dashes). After 5 wrong tries they wait 15 minutes.

A customer says "Your account is being set up"

Their copy is activating your plan, which takes a few seconds. If it stays, check your own plan is active, then press Restart on their row.

A workspace shows "Waiting"

All your seats are used by older workspaces, or free memory is under 300 MB. Free a seat, add seats or move to a bigger VPS.

A workspace shows "Stopped working"

Open your VPS (step 8), run sudo rs-whatsapp logs, look for its name, then press Restart. If it happens again, send us those lines on WhatsApp.

A customer's number does not connect after adding a proxy

Clear the proxy field (Edit) and save. Use a proxy that allows HTTP CONNECT to port 443.

Next: Questions
23
Step 23 of 24

Questions

How much should I charge my customers?

That is your choice. Many resellers charge monthly per customer. Count your costs: the VPS, the Pro plan, extra seats and proxies.

How do my customers pay me?

However you like: bank transfer, cards, a wallet. RS WhatsApp does not take payments for you. When they pay, move their Ends on date forward.

Can I give one customer more numbers than my plan has?

No. Each customer can have up to your plan's numbers per workspace, never more.

Can customers use their own domain?

Not yet: all customers sign in at your address, each with their own workspace.

What happens if my own plan ends, or moves to Starter?

Your customers can no longer send. Their workspaces turn read-only or stop (status Waiting) until your Pro plan is active again. Nothing is deleted, and everything starts again by itself after you renew or upgrade.

Can I move a customer to another server?

Ask us: the workspace folder can be copied to another server running RS WhatsApp.

Do my customers need a Google account?

No. Google is only for linking their own Google Sheet, if they want.

Next: Go-live checklist
24
Step 24 of 24

Go-live checklist

0 of 9 done
Stuck on a step?Send us the step number and a photo of your screen on WhatsApp.
Get help