Quickstart Guide
Get apilens up and running quickly using Docker.Prerequisites
Before you begin, ensure you have:Docker installed (Get Docker)
Docker Compose installed
At least 4GB RAM available
One-Command Setup
The fastest way to get started is using our quickstart script:- Create a
.envfile with generated secrets - Start all services (PostgreSQL, ClickHouse, Redis, Backend, Frontend)
- Run database migrations
- Create a default admin user
The quickstart script creates a default admin user with email
admin@apilens.local and password admin. Change this immediately in production!Access the Application
Once the setup completes, access:| Service | URL |
|---|---|
| Dashboard | http://localhost |
| API | http://localhost/api/v1/ |
| API Docs | http://localhost/api/v1/docs |
| Admin Panel | http://localhost/admin/ |
Send Your First Metric
Test the API by sending a metric:Check Health Status
Verify all services are running:View Logs
To see what’s happening:Stop the Application
Next Steps
Full Installation
Detailed installation options
Configuration
Configure environment variables
Send Metrics
Learn to send metrics from your app
API Reference
Explore all API endpoints