tapstateDocs
Self-hosting

Self-hosting

Find local evaluation, server configuration, and upgrade guides for deployments you manage

Use these guides when you run and maintain tapstate yourself. For the hosted service, start with the Quickstart.

Try tapstate locally

The local quickstart starts a disposable Docker playground with sample MySQL, PostgreSQL, and MongoDB databases. It is an evaluation environment, not a production deployment. Follow the order-state demo to change sample rows and check how an assembled document changes.

You do not need to install the CLI separately to run the playground. The CLI installer installs a client, not a tapstate server.

Configure your deployment

TaskGuide
Initialize storage, create the first administrator, and connect a clientBootstrap and authentication
Understand three-layer storage and backupsState and storage
Recover lost durable cache or rebuild affected pipelinesRecover runtime storage and CLI storage commands
Configure members and understand recoveryConfigure a cluster
Supply connector artifacts and test connectionsRegister and test connectors
Place or move Nest state in the v0.7 layoutMove Nest state
Monitor runs, logs, and Prometheus or OTLP exportsObserve self-hosted pipelines
Diagnose CLI, Docker playground, and server issuesTroubleshoot self-hosted deployments
Plan a separate v0.8 installation or back up v0.7Upgrade to v0.8

These procedures assume you control the server and its storage. Plan database access, credentials, network exposure, monitoring, backups, and recovery for your environment. A successful playground run does not establish production capacity or availability.

Web interface in self-hosted deployments

Self-hosted v0.8 servers bundle the same Cluster web workbench documented in Manage data sources, Build a pipeline (Pipeline builder and DAG Designer), Observe a pipeline (Views, Monitoring, and Logs), Validate pipeline data, and Alerts and notifications. Four areas differ from Cloud:

  • No Cloud organization console: Self-hosted servers open directly into the Cluster workbench without organization switching, billing, cluster provisioning, or managed outbound Elastic IP cards (Cloud management overview).
  • Storage setup and sign-in: First-time installation uses the management-port setup flow (Initialize storage) to bind three MongoDB databases (creating the default views destination instead of atlas-store) and uses local username/password sign-in instead of Cloud SSO or one-click sample presets.
  • AI assistance: Built-in Tapstate AI in the builder is available only in Cloud; self-hosted deployments connect external AI assistants through MCP integration.
  • Alert delivery and destinations: Self-hosted Alert configuration provides local Email (SMTP) and HTTPS Webhook receivers and subscription routes. Database preparation remains shared in the connector guides. Older v0.7 servers use an earlier web application layout.

Self-hosted v0.8 Cluster workbench Overview showing live source-to-view pipeline flow and workspace navigation

For workspace YAML authoring, each connector guide includes CLI/YAML examples after its Web walkthrough. Use Observe self-hosted pipelines for CLI inspection and metrics export.

CLI and automation

Use the CLI for offline workspace generation and validation, or connect it to a self-hosted server for scripts, automation, and manual administration. The server may run locally or on a remote host you administer.

The CLI does not provide Cloud account sign-in. Cloud Clusters use managed browser sessions and do not accept the CLI's bearer-token authentication. The local MCP gateway uses that same CLI connection path; it is not a Cloud login gateway. For Cloud, use the Web workflow.

TaskGuide
Install a clientInstall the CLI
Generate and validate files offlineCreate a workspace
Apply files and run them on your serverApply and run a pipeline
Assemble multi-source documents in .tap.ymlAssemble documents with nest
Track mutable Nest keys in .tap.ymlHandle structural key changes with nest
Look up commands and authenticationCLI reference
Connect a local MCP-compatible agentMCP integration
Generate configuration with an assistantUse tapstate docs with AI

Offline validation does not test database access or prove that a resource is supported by another deployment. Use the client and schema for your target server release.

Upgrade an existing deployment

Read the guide for your target version before replacing server or connector artifacts. The v0.8 three-layer storage layout requires a separate installation and has no automatic migration from the older v0.7 metadata layout. Review backup, storage preparation, and rollback requirements before cutover.

Use v0.8 release notes for version-specific changes and limits. These server upgrade procedures are separate from managing a hosted Cloud Cluster.

On this page