SocialMate – Messaging & AI Agent · Get started
Connect to SocialMate
One token from the app links messages and the agent.
One connection token links your website to SocialMate — for messages and, on Pro, for the Claude Agent. You create it in the SocialMate app, which opens your wp-admin with it filled in (or you paste it into the plugin’s Setup), and the plugin checks every direction of the link before it saves anything.
Before you start
- Every plan The SocialMate app or server running, with your WhatsApp number linked (scanned like WhatsApp Web).
- The plugin installed and activated.
- A route between the two. Your website’s server has to reach SocialMate. If they run on the same machine, that is automatic. If SocialMate runs on your computer and the shop is hosted elsewhere, the app starts a free tunnel for you in step 1.
- Pro For the agent, SocialMate also has to reach your website: a public address, with nothing blocking /wp-json/.
Connect in five steps
1In the app, say where your site is
Open API & Integrations → WordPress and answer two questions:
- Where is your WordPress site? — Online, on a hosting provider (the default: the site reaches SocialMate through a free Cloudflare tunnel the app starts for you; when its address changes the plugin follows it on its own) or On this computer (WordPress runs on the same machine as SocialMate — on a server install it reads On this server — so no tunnel is needed). For an online site, a Named tunnel with a fixed address is a Pro option; on a server install, Public address uses the server’s own address.
- Which numbers may it use? — the token only reaches the numbers you choose.
2Create the connection token
Optionally type Your site’s address (it names the connection and lets the app open your wp-admin). Then press Start free tunnel & create token — or Create connection token when the site is on this computer or the tunnel is already running. The first time, starting the tunnel can take a minute while SocialMate downloads Cloudflare’s connector.
Creating the token also switches the app’s local REST API on, so there is nothing to turn on first. The token starts with wpsm1. and is shown once — if you lose it, create another and revoke the old one in the Keys tab.
3Open wp-admin and connect
Press Open wp-admin & connect. Your browser opens SocialMate → Setup → Connect on your site with the token already filled in (log in first if WordPress asks — the token is kept). Press Connect.
Or copy the token, open SocialMate → Setup → Connect yourself, paste the whole string into Connection token and press Connect.

4Watch the checks
The plugin proves each part of the link and lists the result, step by step:
- Connection token is complete — the token was copied in full.
- SocialMate server answers — your website reached the address inside the token.
- Key accepted — shows your SocialMate version and plan.
- Messages: linked to this SocialMate and Messages: events reach this site.
- With the agent on Pro: Website registered as a connector, SocialMate can call this website (with how many customer and owner tools it sees) and This website receives SocialMate events, which waits for a test event to arrive.
“Test event arrived. Both directions work.” means you are done. If a step fails, it says why — see If a check fails below.
5Continue
Press Continue. Setup goes on to What should happen: for each suggested event, Off, Send a message or Agent task — see Your first message. Then The agent, on Pro — see Set up the agent — then Your numbers and Test.
Connecting a Free SocialMate
A Free app links Messages and stops there. The checks end with SocialMate agent: “The AI agent needs SocialMate Pro. Messages work on your plan now; upgrade to add the agent.” Every event can still be a message you write; only Agent task and the agent wait for Pro.
After you upgrade, connect again so the agent half is added: SocialMate → Settings → Connection → Reconnect / rotate secrets, or Setup → Connect → Connect again, with a fresh token.
If a check fails
- “That does not look like a connection token” or “That token looks incomplete” — copy the whole string again from the app; it was cut short.
- Reach your SocialMate server: “No answer from that address” — SocialMate is not running, the local REST API was switched off after the token was made, or the address (or tunnel) cannot be reached from your website’s server.
- “SocialMate refused the key” — the key was revoked or replaced. Create a new WordPress token in the app and connect again.
- SocialMate can call this website fails, or “No test event arrived yet” — your site is not reachable from SocialMate: it is not public, or a firewall or security plugin blocks
/wp-json/.
More fixes in Troubleshooting.
Good to know
Treat the token like a password. It carries a live key with read, send and admin permission (admin lets the site register itself for events, so it hears when a number disconnects). The plugin encrypts it the moment it is stored and never sends it to a browser.
A failed reconnect changes nothing. The new connection replaces the old one only when every check passes, so a wrong token leaves the working link as it was.
- A plain http:// address over the internet gets a warning: use the tunnel’s https address so the key is never sent in clear text.
- To see the link later, open SocialMate → Settings → Connection: the server address, how it is reached, version and plan, and when SocialMate last called. Hold to disconnect ends it and stops all traffic.
- The plugin contacts only the SocialMate you run yourself — never socialmate.app.
Next
- Your first message — switch one on, write it, test it.
- Set up the agent Pro
- What works on Free and on Pro
- About the Cloudflare tunnel