Table of Contents
Initial Setup
When you first access the Admin Portal, you'll need to create your Super Admin account.
Access Admin Portal
Navigate to https://selfhost.smpp.asia/admin.html
Create Super Admin Account
Fill in your name, email, and password (minimum 8 characters). This will be your master admin account.
Login to Dashboard
After setup, you'll be automatically logged in to the admin dashboard.
Dashboard Overview
The dashboard provides a quick overview of your platform's status.
Stats Cards
| Metric | Description |
|---|---|
| Resellers | Total number of registered resellers |
| Clients | Total number of end-user clients |
| Gateways Online | Number of active Android gateway devices |
| SMS Today | Total SMS sent today across all clients |
System Info
Shows current domain configuration and API port information.
SMPP Server Status
Displays SMPP server host, port, active users, and running status.
System Settings
Configure your platform's core settings from the Settings section.
| Setting | Description | Default |
|---|---|---|
| domain | Platform domain name | selfhost.smpp.asia |
| platform_name | Platform display name | Selfhost SMS |
| smtp_host | SMTP server for emails | - |
| smtp_port | SMTP port | 587 |
| smtp_user | SMTP username | - |
| smtp_pass | SMTP password | - |
Reseller Management
Creating a Reseller
Click "Add Reseller" Button
Opens the reseller creation modal.
Fill Reseller Details
Company name, subdomain (lowercase), email, phone, password, and commission rate.
Save Reseller
The reseller account is created with 0 credit balance.
Adding Credit to Reseller
Click "Credit" Button
Next to the reseller in the list.
Enter Amount
Enter the credit amount in MMK (e.g., 500000).
Add Description
Optional description like "Monthly top-up" or "Initial credit".
Confirm
Credit is added to reseller's balance immediately.
Client Management
View and manage all clients across all resellers.
Client List
Shows all clients with their reseller, package, credit, daily sent count, and status.
Client Actions
| Action | Description |
|---|---|
| Activate | Activate a client's package (deducts from reseller credit) |
| Suspend | Temporarily disable client's access |
| Credit | Add credit directly to client (for direct clients) |
Billing & Revenue
Package Pricing
| Package | Price (MMK/month) | Daily Limit | Monthly Limit | Devices |
|---|---|---|---|---|
| Starter Pro | 50,000 | 45 | 1,350 | 1 |
| Business Elite | 100,000 | 180 | 5,400 | 2 |
| Enterprise Pro | 200,000 | 360 | 10,800 | 3 |
| Enterprise Max | 400,000 | 550 | 16,500 | 4 |
Billing Flow
1. Admin adds credit to Reseller β Reseller balance increases
2. Reseller creates Client β Client gets 3-day trial
3. Trial expires β Client needs package activation
4. Reseller activates package β Reseller credit deducted
5. Client active for 30 days β Renewal needed after expiry
Transaction History
View all billing transactions with filters:
- topup - Credit added to reseller
- package_purchase - Package activation/renewal
SMPP Server
SMPP Server Details
| Setting | Value |
|---|---|
| Host | selfhost.smpp.asia |
| Port | 2558 |
| Rate Limit | 10 TPS per user |
| PM2 Process | selfservice-smpp |
Troubleshooting
Common Issues
| Issue | Solution |
|---|---|
| Can't login to admin | Check email/password. Clear browser cache. |
| SMPP server offline | SSH to server and run: pm2 restart selfservice-smpp |
| API not responding | SSH to server and run: pm2 restart selfservice-api |
| Client can't send SMS | Check: trial expired? package expired? daily limit reached? |
Server Commands
# View API logs
pm2 logs selfservice-api --lines 50
# View SMPP logs
pm2 logs selfservice-smpp --lines 50
# Restart services
pm2 restart selfservice-api
pm2 restart selfservice-smpp
