How to Connect WhatsApp Using a Local Gateway on Your PC
Skip Meta's approval queue and start messaging from your own PC in minutes.
If you want to start replying to customers on WhatsApp before lunch, without waiting on Meta's approval process, a whatsapp local gateway gets you there today. It's a small program that runs on your own computer, connects to WhatsApp the same way the WhatsApp Web browser tab does by scanning a QR code, and relays every message through WaSMS so you can send, receive, and automate replies from one inbox.
When a WhatsApp Local Gateway Is the Right Choice
This route makes sense when you:
- Want to test WaSMS before committing to anything more permanent
- Run a small team sending a few hundred messages a day, not tens of thousands
- Don't need Meta's official verified badge yet — see WhatsApp Cloud API for that route
- Have a computer that can realistically stay on and connected during business hours, or around the clock
This is the fastest way to go from zero to a working WhatsApp inbox. If you outgrow it, moving to a VPS gateway or Cloud API later doesn't mean starting over — your WaSMS contacts, history, and automations stay exactly where they are.
System Requirements
- Windows 10 or 11, macOS 11+, or most Linux distributions
- A stable internet connection — this matters far more than CPU power
- A phone with WhatsApp already installed, to scan the initial pairing code
- About 500MB of free disk space and 2GB of free RAM
- Sleep and screen-lock settings turned off, or the gateway disconnects the moment the screen locks
Installing the Gateway
In WaSMS, go to Channels, then Add Channel, then Local Gateway, and download the installer for your operating system. Run it, then sign in with your WaSMS account's API key when prompted — that's what links the gateway app to your WaSMS inbox.

Scanning the QR
Open WhatsApp on your phone, go to Settings, then Linked Devices, then Link a Device, and point your camera at the QR code shown in the gateway app or on the WaSMS Channels page. Within a few seconds the status should flip to Connected.
QR codes expire after about a minute — if it goes blank or grey before you scan it, hit refresh for a new one. If it won't load at all, WhatsApp QR not loading walks through the common causes.

Keeping It Online
The gateway only relays messages while the PC it's running on is powered, connected, and awake. Sarah, who runs a small boutique, learned this the hard way after her laptop went to sleep overnight and missed a customer's order confirmation until morning — she now keeps a $150 mini PC plugged in behind the counter, dedicated to nothing but the gateway, rather than the laptop she takes home each night.
If the gateway does drop and messages stop coming through, gateway offline fix covers the most common causes and how to get reconnected fast.

Backing Up the Session
The gateway stores its WhatsApp session in a local folder on the machine it's installed on. Copying that folder somewhere safe means that if the PC dies, you may be able to restore the session without rescanning. In practice, rescanning only takes about thirty seconds, so don't lose sleep over this — it's a nice-to-have, not a requirement.
What to read next
- Connect WhatsApp using a $3 VPS gateway once you need 24/7 uptime without a PC involved
- Connect WhatsApp Cloud API for the official, verified route
- AI for WhatsApp to have WaSMS answer routine questions automatically once you're connected