Back to Documentation
Integration15 min read
Connecting MEGAPOS to Craveva
Integrate MEGAPOS F&B POS system with Craveva AI for comprehensive restaurant management and analytics.
Connecting MEGAPOS to Craveva
Overview
MEGAPOS is a leading POS system for restaurants and F&B businesses in Singapore and Malaysia. This guide will help you connect MEGAPOS to Craveva AI for advanced analytics, inventory management, and customer insights.
Prerequisites
- Active MEGAPOS account
- MEGAPOS API credentials
- Admin access to MEGAPOS dashboard
- Craveva AI account
Step 1: Get MEGAPOS API Credentials
- Log in to your MEGAPOS admin dashboard
- Navigate to Settings → API & Integrations
- Click Generate API Key
- Copy your credentials:
- Save these credentials securely
- - API Key: Your public API key
- - API Secret: Your private secret key
- - Restaurant ID: Your restaurant identifier
Step 2: Connect MEGAPOS in Craveva
- Log in to Craveva AI dashboard
- Go to Data Sources → Connect New Data Source
- Select REST API connector
- Choose POS System category
- Enter connection details:
- Click Test Connection
- If successful, click Save
- - Name: "MEGAPOS"
- - Base URL:
https://api.megapos.com/api/v1 - - Auth Type: Bearer Token
- - Token: Your MEGAPOS API Key
- - Additional Headers:
- -
X-API-Secret: Your API Secret - -
X-Restaurant-ID: Your Restaurant ID
Step 3: Map MEGAPOS Endpoints
Configure these endpoints:
- Sales:
/sales- Transaction data - Menu Items:
/menu/items- Menu catalog - Tables:
/tables- Table management - Orders:
/orders- Order details - Inventory:
/inventory- Stock levels - Staff:
/staff- Employee data
Step 4: Create MEGAPOS Agents
Sales Performance Agent
- Track daily revenue
- Analyze menu item popularity
- Monitor table turnover rates
- Identify peak hours
Inventory Agent
- Monitor ingredient levels
- Alert on low stock
- Track waste and usage
- Optimize ordering
Customer Analytics Agent
- Analyze customer preferences
- Track repeat customers
- Identify popular dishes
- Personalize recommendations
Available Data
- Sales transactions and revenue
- Menu items and pricing
- Table reservations and status
- Order details and timing
- Inventory levels and usage
- Staff performance metrics
- Customer data and preferences
Troubleshooting
Connection Issues?
- Verify API credentials are correct
- Check MEGAPOS API status
- Ensure API access is enabled
- Verify restaurant ID
Data Not Syncing?
- Wait for initial sync (3-5 minutes)
- Check API permissions
- Verify endpoint URLs
- Review MEGAPOS API logs
Next Steps
- Set up sales analytics dashboards
- Create inventory alerts
- Build customer insights reports
- Deploy to messaging platforms
Related Guides
Connecting Qashier POS to Craveva
Step-by-step guide to integrate your Qashier POS system with Craveva AI for real-time sales data and...
Connecting MongoDB Database
Complete guide to connect your MongoDB database, analyze collections, and create data analysis agent...
Shopify E-commerce Integration
Connect your Shopify store to automate order processing, inventory sync, and customer support....