Docker
Runs Zappion's database and services in isolated environments on your machine. It must be open and running.
Install guide linked from the README →
On your computer, with your data
At the end you'll have an inbox in your browser and a test organization. About 10 minutes to run it locally, much of it spent downloading Docker images.
A terminal is a window where you type instructions for your computer. Run the commands below in it. The prerequisite guides still need to be completed for each system.
Runs Zappion's database and services in isolated environments on your machine. It must be open and running.
Install guide linked from the README →The command-line tool that prepares and starts the Supabase database and services.
Install guide linked from the README →Runs the JavaScript programs used by the installer and the web version. The README requires version 20 or later.
Official install guide →Downloads the libraries the web version needs to run.
Install guide linked from the README →Downloads a copy of Zappion's code to your machine. The README's first command uses git.
Official install guide →The installer is a Bash script, not a PowerShell command. The Windows app guide covers the native client, not running this installer.
Choosing between WSL and Git Bash, installing the prerequisites and opening a terminal: not documented in the sources consulted. Confirm before continuing on Windows.
Use the Docker, Supabase CLI and pnpm guides linked above. Also make sure Node 20+ and git are available before running the commands.
Step-by-step for installing the prerequisites and opening a terminal on macOS: not documented in the repository.
Use the Docker, Supabase CLI and pnpm guides linked above. Also make sure Node 20+ and git are available before running the commands.
Step-by-step per Linux distribution and how to open a terminal: not documented in the repository.
Make sure Docker is running. Use “Copy” and paste the block into the terminal. The first line downloads the code, the second enters the zappion folder, and the third runs the installer.
git clone https://github.com/victorgalletti/zappion.git
cd zappion
scripts/setup-local.shThe script is safe to run again. It checks for Docker, the Supabase CLI, Node and pnpm before it starts.
==> 1/4 Env files created api/supabase/functions/.env with local demo values (no real Meta App) created web/.env.local ==> 2/4 Starting Supabase (the first run downloads its Docker images) web/.env.local points to http://127.0.0.1:54321 ==> 3/4 Installing the web's dependencies ==> 4/4 Creating the demo login and organization Done. Start the web and sign in:
When “Done” appears, run the command below. It starts the web version. Then open the address in your browser.
pnpm --dir web devThe script creates the demo login. Open the file web/.env.local: the email is in TEST_USER_EMAIL and the password in TEST_USER_PASSWORD. Use those values to sign in. The terminal also shows the email at the end of the install.
How to find and open the configuration file on each system: still to be documented.
To browse the database, Supabase Studio is at http://127.0.0.1:54323.
In another terminal, inside the zappion folder, run the command below. It simulates a message received from Meta. The message appears in the inbox; replies aren't sent because the number is fictional.
node scripts/send-webhook.mjs inbound --phone-number-id 100000000000001 --business-number 5511900000000 --text "hi"Before connecting a real number, use an organization of your own, without an AI agent. The sample organization has an agent that replies by itself. Without an OpenAI key, it saves an error message as the reply; with a real number, that message would be sent.
Coexistence means keeping the number in the WhatsApp Business app on your phone and seeing the conversations in Zappion too.
api/supabase/functions/.env, following .env.example.api/ folder, restart Supabase with supabase stop && supabase start to load the values.54321 with a tunnel such as ngrok or Cloudflare Tunnel. Save the address in WEBHOOK_PUBLIC_URL.<public URL>/functions/v1/whatsapp-webhook as the webhook (the address that receives Meta's notifications) and the WHATSAPP_VERIFY_TOKEN from the .env file.messages, smb_message_echoes, history, smb_app_state_sync, account_update and user_id_update.Meta screenshots: creating the app, the values, the webhook and event subscription. App and tunnel creation guide not detailed in the README.
Use the manual connection: Settings › Instances › Connect number › Manual. You need the phone number ID, the WABA and the permanent system-user token.
The app and the webhook must be set up as in the walkthrough next to this one.
The README has no separate walkthrough for moving a number that's already on the API, nor does it detail how to get the IDs and the token. Confirm these steps.
Meta screenshot: where to find the phone number and WABA IDs.
A connection flow in a Meta pop-up window, so your customer can connect their own number. It requires a Meta-approved Tech Provider and the signup/ page hosted on an HTTPS domain.
cp signup/.env.example signup/.env.node signup/server.mjs.The address of that page goes in NEXT_PUBLIC_SIGNUP_URL, as in web/.env.example.
Tech Provider approval and HTTPS hosting: walkthrough not detailed in the sources. Screenshot of the Meta pop-up pending.
History and contacts can be synced once, within 24 hours of connecting. The automatic request only exists in Embedded Signup. Outside it, the README points to POST /{phone_number_id}/smb_app_data.
You can use your own Supabase Cloud project for the database and the backend, the part that processes requests. This is different from Zappion Cloud, which hasn't opened yet.
The script needs the Supabase CLI, jq and curl. It also needs your Supabase personal access token, the database password and a filled-in api/supabase/functions/.env.
The personal access token is at Supabase › Account › Access Tokens. The project reference is the identifier in the address https://supabase.com/dashboard/project/<ref>. The database password is the one you set when you created the project.
Replace the three placeholders below with your own values before running it. Don't share your credentials.
SUPABASE_ACCESS_TOKEN=... SUPABASE_DB_PASSWORD=... \
scripts/setup-cloud.sh --project-ref <ref>api/ to the project./oauth/consent path and dynamic registration so Claude or ChatGPT can access MCP.web/ on a service that runs Next.js. Set NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY and NEXT_PUBLIC_SIGNUP_URL to the values shown at the end of the script.How to create the project, install jq/curl, host the web version and create the first login in the cloud: beginner-friendly instructions are missing from the sources consulted.
The script accepts --env-file <path> for a different secrets file and --dry-run to only show what it would do.
The script couldn't reach Docker. Make sure Docker is running before you run the install again.
A required tool wasn't found. The local installer checks for docker, supabase, node and pnpm; the cloud one checks for supabase, jq and curl. Go back to the prerequisites.
The installer stops if it can't find the URL and key in the output of supabase status. The sources have no recovery procedure for this error.
Pass --project-ref with the project identifier (20 lowercase letters and digits). Set SUPABASE_ACCESS_TOKEN and SUPABASE_DB_PASSWORD. The secrets file must also exist.
The demo number is fictional. It receives the simulated events but doesn't send real messages.
The README warns that a webhook that's down doesn't raise an alert. Check the public address and the app's subscription on the WABA with GET /{waba-id}/subscribed_apps. How to run that query: a beginner-friendly walkthrough is missing.
The sample organization has an AI agent. Without the OpenAI key, it saves the error as the reply. For a real number, use an organization of your own, without an agent.
Zappion Cloud will take care of the hosting. It's coming soon.