Skip to main content
ServFlow Pro is a visual backend engine for building and running APIs. This guide walks you through setting up ServFlow Pro on your local machine for development. By the end, you’ll have a fully functional local environment ready to build and test APIs.
ServFlow Pro runs in two modes: Dashboard Mode (with --dashboard) for visual development, and Headless Mode (without --dashboard) for running YAML configurations directly. This guide focuses on Dashboard Mode for local development. See Running Modes to learn more.

Prerequisites

  • Docker (recommended) or a downloaded ServFlow Pro binary
  • A terminal or command-line interface

Download Options

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 a config.toml file in your working directory:
Next, create the configs directory where your API configurations will be stored:
The config_folder is the only required configuration. ServFlow will use sensible defaults for everything else.

Port Configuration

ServFlow Pro runs two servers:

Customizing Ports

You can change ports in your config.toml:
Or use an environment variable:
One port serves the engine, the API, and the dashboard, so changing it moves all three.
Environment variables take precedence over values in the TOML file.

Master Key for Secrets

The master_key encrypts secrets stored by ServFlow, such as API keys and credentials.
Or set it via environment variable:
Security Best Practices:
  • Use a strong, unique key (at least 32 characters recommended)
  • Never commit your master key to version control
  • Use environment variables in production environments
  • If you change the master key, previously encrypted secrets cannot be decrypted
If no master key is set, secrets management will be disabled in the dashboard.

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
To enable SQLite, add the following to your config.toml:
Make sure to create the data directory:
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:
This starts Jaeger with:
  • Port 16686 — Jaeger UI for viewing traces
  • Port 4318 — OTLP HTTP collector endpoint

Configuring Tracing

Add the tracing configuration to your config.toml:
Or use environment variables:
Once configured, you can view traces at http://localhost:16686.

Running ServFlow Pro

With Docker

With the Binary

Command Line Options

Verifying Your Setup

Test the API Server

You should receive a response indicating the server is running.

Access the Dashboard

Open your browser and navigate to:
The dashboard is served under /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.