How to set up a free open source WhatsApp CRM with the Meta API

You will install a free, open source WhatsApp CRM and automation platform that runs on Meta's official WhatsApp Business API. It suits small businesses and developers who want to manage customer chats and automate messages without paying monthly fees. You need a server, a Meta developer account and basic command line skills.

YouTube video: I Found a FREE Open Source WhatsApp Automation Platform | Full Tutorial ($0)

YouTube’s video details do not confirm captions. Check CC in the player for available tracks.

Video length
17 min 31 s
Time to do it
1 hour
Difficulty
Medium
Steps
10

What you need

Steps

  1. Create a Meta developer account at developers.facebook.com and set up a new app of the Business type.

  2. Add the WhatsApp product to your app and link a phone number that is not already on a personal WhatsApp account.

  3. Copy your permanent access token, phone number ID and WhatsApp Business Account ID from the Meta dashboard.

  4. Rent a VPS with at least 2 GB RAM and install Docker and Docker Compose on it.

  5. Clone the WA CRM repository from GitHub onto the server and open the environment file.

  6. Paste your Meta token, phone number ID and account ID into the environment file, then save it.

  7. Run docker compose up to build and start the containers, then wait for them to finish starting.

  8. Point your domain at the server and set the webhook URL in the Meta app to your CRM address.

  9. Verify the webhook, send a test message from your phone and check that it appears in the CRM inbox.

  10. Create your first automation rule, such as an auto reply, and test it with a second number.

Tips and common mistakes

Use a permanent system user token, not the temporary test token, or messages will stop after 24 hours.

Keep your access token and environment file private and never commit them to a public repository.

Meta charges per conversation, so the software is free but messaging is not.

Back up your database volume before you update the containers.

Questions

Do I need to pay Meta to send messages?

Yes. The software is free, but Meta bills per conversation on the WhatsApp Business API. Small free tiers may apply depending on your region.

Can I use my normal WhatsApp number?

No. The API needs a number that is not active on the regular WhatsApp or WhatsApp Business app. You must delete it from the app first.

Do I need coding skills?

Basic command line skills help. You mostly copy commands and edit one config file, but you should be comfortable with a terminal.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Apps & Software

See all