Skip to main content
Locally, zapbip runs the same Worker as production. A development sandbox answers in place of WhatsApp, as the owner’s phone, so you need no Meta account and nothing reaches a real phone.

What you need

  • Node 24 or newer and pnpm
  • Git
  • Or Docker with Compose, for the Docker option

On your computer

Get the code and install it:
Create apps/api/.dev.vars with four random secrets, then prepare the local database:
Start the Worker and check it:
Create an owner and an agent. The command prints the agent’s secret once:
Connect your AI with the secret it printed:
The local stack guide walks a full conversation, in English.

Docker

One command builds the image and starts the Worker on port 8787:
The database, the files and the generated secrets live in the zapbip-data volume, so they survive a restart. Set MEDIA_LINK_SIGNING_KEY, UPLOAD_LINK_SIGNING_KEY, NUMBER_REGISTRY_KEY or META_APP_SECRET in your environment to choose them yourself. Create an owner and an agent inside the container: