Deep Dive 10-Step Setup Wizard: Enterprise AI Platform, Running in Under an Hour
Deep-Dive IT Admins ยท DevOps Engineers

10-Step Setup Wizard: Enterprise AI Platform, Running in Under an Hour

Database, VectorDB, LLM, SSO, Git, Confluence, users, license, and security โ€” all configured through a guided wizard. No YAML required.

May 15, 2026 · 8 min read · IT AdminsDevOps Engineers
TL;DR

What Are the 10 Steps in the FlowSquad Setup Wizard?

The Setup Wizard launches automatically on first boot when no valid configuration is detected. It is also accessible post-deployment from Admin โ†’ System โ†’ Re-run Wizard for reconfiguration. Each step includes a "Test Connection" or "Validate" action that confirms the configuration is correct before allowing progression to the next step โ€” preventing partial configurations that cause cryptic startup failures.

How Does FlowSquad Support Multiple Database Backends?

FlowSquad's data layer uses an ORM abstraction (SQLAlchemy) that supports 3 production database backends: PostgreSQL 13+, MySQL 8.0+, and MariaDB 10.6+. SQLite is available for development and evaluation environments only (not recommended for multi-user production deployments due to write concurrency limitations). The database schema includes 34 tables covering products, users, roles, content, audit logs, LLM cost tracking, and integration credentials.

For high-availability production deployments, FlowSquad supports PostgreSQL with read replicas โ€” all write operations route to the primary, while read-heavy operations (audit log queries, cost tracking reports) can be offloaded to replicas via the DB_READ_REPLICA_URL environment variable. Connection pooling (PgBouncer) is recommended for deployments exceeding 50 concurrent users.

How Do You Configure SSO / SAML 2.0 in FlowSquad?

FlowSquad's SAML 2.0 Service Provider implementation is wizard-driven. After uploading the IdP metadata XML in Step 6, FlowSquad automatically extracts the SSO URL, certificate, and entity ID. The wizard then displays the FlowSquad SP metadata XML for you to register in your IdP (Okta, Azure AD, Ping Identity, etc.). The round-trip configuration takes approximately 8 minutes for Okta and 12 minutes for Azure AD.

SAML attribute mapping allows FlowSquad to read the user's email, display name, and group memberships from the SAML assertion. Group memberships are used for role auto-assignment: if a user is in the flowsquad-admins group in Okta, they are automatically assigned Global Admin in FlowSquad. This eliminates manual role assignment for teams with mature IdP group hygiene.

How Do You Set Up the VectorDB Connection?

Step 3 of the wizard presents a dropdown between ChromaDB and Pinecone. For ChromaDB, FlowSquad connects to an existing ChromaDB HTTP server (you deploy ChromaDB separately using its Docker image). For Pinecone, FlowSquad creates the required collections automatically using the Pinecone API on first connection. Both backends use the same internal VectorDB interface โ€” switching backends later requires a full re-index but no application code changes.

What Happens After the Wizard Completes?

After Step 10, FlowSquad runs a post-wizard health check that verifies all configured connections are live and responsive. If all checks pass, the wizard marks setup as complete and redirects to the dashboard. If any check fails, the wizard identifies the failing step and allows inline correction before proceeding. The first Global Admin is automatically logged in, and the "Create Your First Product" onboarding flow launches immediately โ€” from wizard start to first product created typically takes under 52 minutes in enterprise deployments.

# .env โ€” FlowSquad minimum environment configuration # Database DATABASE_URL=postgresql://flowsquad:secret@db:5432/flowsquad # VectorDB VECTORDB_BACKEND=chromadb CHROMADB_HOST=http://chromadb:8000 # LLM FLOWSQUAD_LLM_PROVIDER=openai OPENAI_API_KEY=sk-... # Encrypted by wizard on save # Security FERNET_KEY=your-32-byte-base64-key # Generated in wizard Step 10 SECRET_KEY=your-django-secret-key

Frequently Asked Questions

Can the Setup Wizard be re-run on an existing production instance?

Yes. Admin โ†’ System โ†’ Re-run Wizard allows any individual step to be re-executed without affecting other steps. For example, you can update the LLM provider (Step 4) without touching SSO configuration (Step 6). All wizard steps are idempotent โ€” re-running them with the same values produces no changes.

Is an internet connection required to complete the Setup Wizard?

Only if you are using cloud-dependent services (OpenAI, Anthropic, Pinecone, hosted Confluence/Jira). For fully air-gapped deployments using Ollama + ChromaDB + self-hosted Jira/Confluence + local SSO, the Setup Wizard completes entirely without outbound internet access. License validation also works offline via cryptographic signature.

What database is recommended for a production deployment of 100+ users?

PostgreSQL 15+ with a dedicated server (minimum 4 vCPU, 16 GB RAM), SSD storage, and automated daily backups. For 100+ concurrent users, enable PgBouncer connection pooling and consider a read replica for audit log and cost tracking queries. FlowSquad's largest current deployment serves 800 users on a 3-node PostgreSQL cluster.

Can SAML SSO and local authentication coexist?

Yes. FlowSquad supports mixed authentication: some users can log in via SAML SSO while others use local username/password (with MFA). This is useful during SSO migration periods or for service accounts that are not in the IdP directory. The authentication method per user is set in Admin โ†’ Users.

How long does it take to re-index an existing codebase after changing the VectorDB backend?

Re-indexing time depends on codebase size and ONNX embedding throughput. As a benchmark: a 100,000-line Python/Java monorepo takes approximately 4โ€“8 minutes on a 4-core CPU host. Switching from ChromaDB to Pinecone or vice versa triggers a full re-index automatically when the new backend is saved in the wizard.

Share on dev.to Share on Hashnode Share on Medium Share on LinkedIn