Get Up and Running
This guide will walk you through setting up Dashboard Dilemas and completing your first dilemma workflow, from database configuration to viewing analytics.Install Dependencies
First, install the required Node.js packages for database operations:Or using your preferred package manager:
These dependencies are used for database setup scripts and initial configuration.
Configure Database Connection
Create a Update the
.env file in your project root by copying the example file:.env file with your MySQL database credentials:Initialize Database Schema
Run the database setup script to create the necessary tables:This script creates the core tables:
de_app_clients- Client organizationsde_app_areas- Organizational areas/departmentsde_app_users- Platform usersde_app_games- Dilemma scenariosde_app_game_questions- Questions within each dilemmade_app_answers- User responsesde_app_sessions- User sessions and progress
The setup script creates the table structure. You may need to manually add initial data or use SQL import scripts for sample content.
Start the Development Server
Launch the development server:The dashboard will be available at
http://localhost:3000 (or your configured port).Access the Admin Dashboard
Navigate to the dashboard in your browser. You should see the central dashboard view with key metrics:
- Total active users
- Participation rates
- Completion statistics
- Recent activity
If this is your first time accessing the dashboard, metrics will be empty until you create clients and users.
Create Your First Client
Set up your first client organization:
- Navigate to Clientes (Clients) in the main menu
- Click Agregar Nuevo Cliente (Add New Client)
- Fill in the client details:
- Company name
- Contact information
- Any additional metadata
- Save the client
Create Organizational Areas
Organize users by departments or business units:
- Go to Áreas (Areas) in the navigation
- Create areas for your client (e.g., “Human Resources”, “Sales”, “Operations”)
- Link each area to the appropriate client
Add Users
Invite participants to the platform:
- Navigate to Usuarios (Users)
- Add new users with:
- Name and email
- Client assignment
- Area assignment
- Unique access code (generated automatically)
- Users will receive invitation emails with their credentials
Each user must be associated with both a client and an area for proper tracking and reporting.
Configure a Dilemma
Create your first gamified ethical dilemma:
- Go to Dilemas (Juegos) (Dilemmas/Games)
- Create a new dilemma and assign it to your client
- Navigate to Preguntas (Questions)
- Add questions to your dilemma:
- Question text and scenarios
- Multiple choice options
- Correct answers
- Difficulty level
- Point values
Monitor Participation
Track user engagement and performance:
- Visit the Dashboard to see real-time metrics
- Check Analíticas (Analytics) for the participation funnel:
- Users who logged in
- Users who started a dilemma
- Users who completed a dilemma
- Drop-off rates at each stage
- Review Premiados (Winners) to see top performers
Generate Certificates
Award completion certificates to successful users:
- Navigate to Certificados (Certificates)
- Review users who have completed dilemmas
- Generate and send PDF certificates
- Track certificate delivery status
Next Steps
Now that you’ve completed the basic workflow, explore these advanced features:Analytics Deep Dive
Learn how to use advanced analytics and reporting features
Email Automation
Set up automated reminders and weekly reports
Admin Workflows
Master common administrative tasks and best practices
Database Schema
Understand the database structure and relationships
Need Help?
The platform includes automated cron jobs for email reminders (
cron_email_reminders.php) and weekly reports (weekly_report.php). Configure these to run on your server for automated user engagement.