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

  1. Log in to your MEGAPOS admin dashboard
  2. Navigate to SettingsAPI & Integrations
  3. Click Generate API Key
  4. Copy your credentials:
  5. 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

  1. Log in to Craveva AI dashboard
  2. Go to Data SourcesConnect New Data Source
  3. Select REST API connector
  4. Choose POS System category
  5. Enter connection details:
  6. Click Test Connection
  7. 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