First Login
After installing OPBX, you'll need to create your first organization and admin user. This guide walks you through the initial setup.
Accessing the Application
Open your web browser and navigate to:
http://localhost/ui
If you changed the port mapping during installation (e.g., 8080:80), use that port instead:
http://localhost:8080/ui
Creating Your Organization
OPBX uses a multi-tenant architecture. The first step is creating your organization (tenant).
Registration Form
You'll see the Create Organization registration form with the following fields:
Organization Information
| Field | Required | Description |
|---|---|---|
| Organization Name | Yes | Your company or organization name |
| Timezone | Yes | Primary timezone for the organization |
Admin User Information
| Field | Required | Description |
|---|---|---|
| Full Name | Yes | Administrator's full name |
| Yes | Admin email address (used for login) | |
| Password | Yes | Secure password (min 8 characters) |
| Confirm Password | Yes | Must match password |
Step-by-Step Registration
-
Enter Organization Name
- Example: "Acme Corporation" or "My Company"
- This identifies your organization in the platform
-
Select Timezone
- Choose your primary business timezone
- This affects business hours and call logging
- Example:
America/New_York,Europe/London,Asia/Tokyo
-
Create Admin User
- Full Name: Enter the administrator's name
- Email: Valid email address for login
- Password: Strong password (recommended: 12+ characters with mixed case, numbers, symbols)
-
Submit the Form
- Click "Create Organization"
- Wait for the system to initialize (10-20 seconds)
Registration Success
After successful registration, you'll be:
- Automatically logged in as the admin user
- Redirected to the OPBX Dashboard
- Ready to start configuring your PBX
If registration fails:
- Check that all required fields are filled
- Ensure passwords match
- Verify email format is valid
- Check browser console for errors
- Review Docker logs:
docker compose logs app
Dashboard Overview
After logging in, you'll see the main OPBX Dashboard:
Navigation Sidebar
| Menu | Description |
|---|---|
| Dashboard | Overview and statistics |
| Users | Manage organization users |
| Extensions | Configure phone extensions |
| Ring Groups | Set up hunt groups |
| Phone Numbers | Manage DIDs |
| IVR Menus | Create voice menus |
| Business Hours | Configure schedules |
| AI Assistants | Set up AI call handling |
| Call Logs | View call history |
| Settings | Organization configuration |
Top Bar
- Organization Selector: Switch between organizations (for platform managers)
- Notifications: System alerts and messages
- User Menu: Profile, settings, and logout
Security Hardening Checklist
After first login, complete these security steps:
Immediate Actions
-
Verify Admin Access
- Confirm you can access all expected features
- Check that role is "Owner" in User settings
-
Review Environment Variables
- Ensure
APP_URLis set correctly - Verify strong passwords are used
- Ensure
-
Configure Cloudonix (for VoIP functionality)
- Go to Settings in the navigation
- Enter your Cloudonix Domain UUID and API Key
- See Cloudonix Integration for details
Recommended Actions
-
Enable HTTPS (Production)
# Edit .env
APP_URL=https://your-domain.comConfigure SSL certificates in Nginx or use a reverse proxy.
-
Set Up Backups
- Configure automated database backups
- Set up call recording backups
- Test restore procedures
-
Configure Firewall
- Restrict access to admin panel by IP if needed
- Block unnecessary ports
- Enable fail2ban for SSH/brute force protection
-
Review User Permissions
- Create additional users with appropriate roles
- Don't share the admin account
- Set up role-based access for different departments
Security Best Practices
-
Strong Passwords
- Minimum 12 characters
- Mix of uppercase, lowercase, numbers, symbols
- No dictionary words or personal information
- Use a password manager
-
Regular Updates
- Keep OPBX updated to latest version
- Update Docker images regularly
- Apply security patches promptly
-
Access Control
- Limit admin access to necessary personnel
- Use separate accounts for different roles
- Enable audit logging
-
Data Protection
- Encrypt sensitive data at rest
- Use HTTPS for all communications
- Secure backup storage
Next Steps
Now that you're logged in and your organization is set up:
For VoIP Functionality (Recommended)
→ Cloudonix Integration
Configure the Cloudonix integration to enable phone calls, extensions, and VoIP features.
Basic Configuration
-
Create Users
Add additional users to your organization:- Navigate to Users → New User
- Assign appropriate roles (Admin, User, Reporter)
-
Configure Extensions
Set up phone extensions:- Go to Extensions → New Extension
- Assign extensions to users
- Configure voicemail
-
Set Up Ring Groups (Optional)
Create hunt groups for departments:- Navigate to Ring Groups → New Ring Group
- Add members
- Select ringing strategy
-
Configure Phone Numbers (Requires Cloudonix)
Map DIDs to extensions or ring groups:- Go to Phone Numbers → New Phone Number
- Enter DID and routing destination
Documentation & Help
- Documentation: http://localhost/docs
- API Reference: Available at
/apiendpoint - Logs: Check with
docker compose logs -f
Troubleshooting
Cannot Access the UI
Problem: Browser shows "Connection refused" or "Site cannot be reached"
Solutions:
-
Check containers are running:
docker compose ps -
Verify frontend container is healthy:
docker compose logs frontend -
Check if ports are correctly mapped:
# Should show port 80 or your mapped port
docker compose port nginx 80
### Registration Form Errors
**Problem**: "Email already exists" or validation errors
**Solutions**:
1. If email exists, use the login page instead
2. Clear browser cache and cookies
3. Check for JavaScript errors in browser console
### Dashboard Loads But Shows Errors
**Problem**: API errors or missing data
**Solutions**:
1. Check API health:
```bash
curl http://localhost/api/health
-
Verify database migrations ran:
docker compose exec app php artisan migrate:status -
Check app logs:
docker compose logs app
Getting Help
If you encounter issues:
- Check Documentation: http://localhost/docs
- Review Logs:
docker compose logs - GitHub Issues: github.com/opbx/opbx/issues
Welcome to OPBX! Your organization is now set up and ready to use. Continue to the Cloudonix pairing guide to enable VoIP functionality, or explore the dashboard to configure your PBX.