Servers App

Getting Started

Getting Started with Servers App

This guide walks you through the initial setup and configuration of the Servers App, including adding your first server and authenticating for data synchronization.

Prerequisites

Before using the Servers App, ensure you have:

  • FlowState application installed (Electron desktop or web version)
  • Access to at least one RxDB server (development or production)
  • An email address for authentication (if server sync is required)

Accessing the App

  1. Open the FlowState application
  2. Navigate to the app launcher (click the grid icon or press Cmd/Ctrl+K)
  3. Select "Servers" from the settings category

Accessing the Servers App

The Servers App opens at the base path /apps/servers.

Initial Setup

Step 1: View the Server List

When you first open the Servers App, you'll see the main server management page. If no servers are configured, an empty state will guide you to add your first server.

Empty State

Step 2: Add Your First Server

  1. Click the Add Server button (or press Cmd/Ctrl+N)
  2. The server configuration dialog opens with default development settings pre-filled:
FieldDefault ValueDescription
Server Nameflowstate-devDisplay name for the server
URLhttps://localhost:7443RxDB server endpoint
Database Nameflowstate-devDatabase to connect to
Domain IDflowstate-devMulti-tenant identifier
  1. Customize these values for your server environment
  2. (Optional) Click Test Connection to verify connectivity
  3. Click Save to create the server configuration

Add Server Dialog

Step 3: Set the Active Server

After adding a server, you need to set it as active to enable data replication:

  1. Find your server in the server list
  2. Click the Set Active button in the Actions column
  3. A star icon appears next to the server name, indicating it's active
  4. The status badge changes to "Active"

Active Server Indicator

Step 4: Authenticate (Optional)

If your server requires authentication for data sync:

  1. Click the Login button in the Auth column
  2. You'll be redirected to the login page for that server
  3. Enter your email address and click Send Code
  4. Check your email for the verification code
  5. Enter the code to complete authentication
  6. Upon success, you're redirected back to the server list

The server now shows "Authenticated" status in the Auth column.

Authentication Status

Understanding Server Status

The Servers App displays several status indicators:

IndicatorMeaning
Star iconThis is the active server
"Active" badgeServer is used for replication
"Authenticated" badgeYou're logged in to this server
"Not Authenticated" badgeServer requires login

Status Bar

At the bottom of the app, the status bar shows:

  • Mode: Current replication mode (local/server)
  • Server Count: Total number of configured servers
  • Organization: Current organization context

Next Steps

Once you've completed the initial setup:

Previous
Overview