# DeepAIBots Central Hub - Product Requirements Document (PRD)

## 1. Project Overview
DeepAIBots Central Hub is a comprehensive web-based platform designed to manage AI bot services, user licenses, subscriptions, and telemetry. It serves both as a secure enterprise dashboard for clients and a global admin control panel for the platform operators.

## 2. Target Audience
- **Clients/Users:** Individuals or businesses purchasing AI bot services, managing their subscriptions, and viewing bot telemetry.
- **Administrators:** Platform owners who need to manage users, issue promotional codes, provision accounts manually (Phantom Provisioning), and oversee global telemetry.

## 3. Core Features
- **User Authentication:** Secure login using Firebase Authentication.
- **Role-Based Access Control:** Distinct views for regular users (Enterprise Dashboard) and platform owners (Global Admin Panel).
- **Payment & Invoicing:** Integration with NOWPayments/Stripe for handling subscriptions, one-time payments, and invoice generation.
- **Promotions Engine:** System for creating, distributing, and validating promotional codes.
- **Live Telemetry:** Real-time data visualization of bot performance and system status.
- **User Management:** Admin ability to view user directories, adjust tiers (Pro, Enterprise, VIP, Demo), and purge inactive accounts.

## 4. Success Metrics
- Seamless user onboarding and payment processing.
- Zero unauthorized access to the admin control panel.
- Accurate and real-time telemetry updates.
- 100% uptime for core API services (webhook, chat, invoice creation).
