Prerequisites
- Docker (recommended) or a downloaded ServFlow Pro binary
- A terminal or command-line interface
Download Options
Using Docker (Recommended)
Pull the official ServFlow Pro Docker image:Using the Binary
Download pre-built binaries from the Releases page. Available platforms:- Linux (x86_64, arm64)
- macOS (x86_64, arm64)
Configuration Setup
ServFlow Pro uses a TOML configuration file. Create aconfig.toml file in your working directory:
Port Configuration
ServFlow Pro runs two servers:Customizing Ports
You can change ports in yourconfig.toml:
Environment variables take precedence over values in the TOML file.
Master Key for Secrets
Themaster_key encrypts secrets stored by ServFlow, such as API keys and credentials.
Optional: SQLite Storage
SQLite provides persistent storage for additional features. When configured, it enables:- Secrets Management — Encrypted storage for API keys and credentials
- OAuth Integrations — OAuth provider configurations and token storage
- Metrics Storage — Usage and performance metrics persistence
config.toml:
If SQLite is not configured, ServFlow falls back to file-based storage. This is fine for basic local development but limits available features.
Optional: Tracing with OpenTelemetry
ServFlow Pro supports distributed tracing via OpenTelemetry, which helps you debug and monitor API workflows.Setting Up a Local Collector
You can run Jaeger locally as a tracing collector:- Port 16686 — Jaeger UI for viewing traces
- Port 4318 — OTLP HTTP collector endpoint
Configuring Tracing
Add the tracing configuration to yourconfig.toml:
http://localhost:16686.
Running ServFlow Pro
With Docker
With the Binary
Command Line Options
Verifying Your Setup
Test the API Server
Access the Dashboard
Open your browser and navigate to:/dashboard on the same port as the engine. On a fresh instance you’ll be asked to complete setup and create an account before the builder appears — see First run.
You’re all set! Your local ServFlow Pro environment is configured and running.
Next Steps
Create Your First API
Follow the quickstart guide to build a Hello World API in under 5 minutes.
Configuration Reference
Explore all configuration options and environment variables.