Top

Wapi documentation

Chat, collaborate, and create teams effortlessly with Wapi

Welcome to WAPI!

Get an AI summary of this page

Before setting up and running Wapi, ensure your system includes the following prerequisites. These tools are essential for managing user accounts, subscription plans, payment processing, AI model integration, template management, and overall system performance.

MongoDB and Local Server

Role: MongoDB stores Wapi’s user profiles, subscription data, payment transactions, AI model configurations, message templates, landing page content, FAQ entries, testimonials, and application settings. MongoDB serves as the primary NoSQL database for the WhatsApp marketing platform.

Required Version: Latest stable version

Official Installation Link: MongoDB Community Server (Windows / Mac / Linux)

Install and start the MongoDB service on your system. Node.js will connect to MongoDB using the configured connection string (default port 27017). MongoDB Compass can be used for easy database management and visualization.

Node.JS

Role: Node.js powers Wapi’s backend API, manages user authentication, handles REST API endpoints for admin operations, processes payment gateway integrations, and manages business logic for the WhatsApp marketing platform.

Required Version: Node.js 22

Official Installation Link: Node.js Official Website

Node.js provides a scalable, non-blocking architecture ideal for handling multiple API requests, payment processing, and administrative operations. It also allows installation of all project dependencies including React and various npm packages.

React

Role: React is the frontend framework used for Wapi’s admin interface—dashboard analytics, user management, subscription plans, payment gateway configuration, AI model management, template creation, landing page builder, and settings panels.

Required Version: React 19.2.3

Installation: React is installed automatically when running npm install inside the Wapi project. No separate installation is required.

React enables building reusable UI components and handling real-time updates efficiently.

Next.js

Role: Next.js serves as the React framework for Wapi’s admin panel, providing server-side rendering, API routes, static site generation, and optimized performance for administrative dashboards and management interfaces.

Required Version: Next.js 16.1.1

Installation: Next.js is included in project dependencies and installed automatically with npm install.

Official Website: Next.js

Provides excellent developer experience with hot reloading, optimized builds, and built-in features for production deployment.

Meta Developers Account

Role: Required to access Facebook's developer platform for WhatsApp Business API integration, enabling businesses to connect their WhatsApp accounts to Wapi for automated messaging, customer support, and marketing campaigns.

Required: Active Meta Developers Account

Setup: Register at Meta Developers Portal to create an app and get credentials for WhatsApp Business API integration.

Official Website: Meta Developers

Essential for connecting your WhatsApp Business Account to the Wapi platform.

WhatsApp Business Account

Role: Required to connect your business phone number to the WhatsApp Business API through Wapi, allowing for automated messaging, customer engagement, and marketing campaigns.

Required: Valid WhatsApp Business Account

Setup: Create and verify your WhatsApp Business Account through the WhatsApp Business app or by connecting your existing WhatsApp account to the Meta Business account.

Official Resource: WhatsApp Business

Necessary to send and receive messages through the Wapi platform.

Payment Gateways

Role: Payment gateways handle Wapi’s subscription payment processing—Stripe and Razorpay integrations for processing customer payments, managing subscriptions, handling refunds, and processing transaction data.

Required: Stripe and Razorpay API keys

Configuration: API keys are configured through the admin panel settings. No separate installation required.

Official Websites: Stripe and Razorpay

Enables secure payment processing, subscription management, and automated billing for the WhatsApp marketing platform.

Note : Once Node.js and MongoDB are installed, running npm install in the Wapi project directory automatically installs React, Next.js, and all required dependencies, ensuring a complete environment without manual setup of frontend libraries. Make sure MongoDB service is running before starting the Wapi application. Payment gateways are configured through API keys in the admin settings. Additionally, ensure you have registered your Meta Developers Account and created/verified your WhatsApp Business Account to enable WhatsApp Business API integration with the Wapi platform.