The gate: your databases in your software, without Filarr reading them

How an end-to-end encrypted Filarr database can serve an API to your software, through a gate that runs on your side.

Auf dieser Seite
Abschnitte der Hilfe

Filarr encrypts your databases end to end: its servers store blocks they cannot read. For a piece of software (an ERP, a dashboard, a website, an AI assistant) to read a database, something has to decrypt it. That something is the gate (Filarr Gate): a small program you run yourself, to which you open one or more databases, and which serves your software from its copy.

Opening a database to an API is offered on every plan. The plan sets the number of accesses, the number of databases per access, writes (from Solo), live changes (from Solo) and allowed addresses (from Pro): see plans. Two related features also go through the gate: receiving files through its API (from Pro) and feeding a database from an external database with a scheduled sync (from Solo).

How it works

  1. In Filarr, you open a database to an API (Open a database to an API). Filarr shows you a token, once.
  2. You give that token to the gate, installed wherever you like: on your computer, on a company server (Docker), on your own Cloudflare account, or right inside your code.
  3. The gate downloads the encrypted blocks of those databases, decrypts them with keys derived from the token, and keeps the copy in memory. It serves your software at stable addresses (/v1/clients, /v1/clients/clients-actifs), replays your views with Filarr's engine, accepts read-only SQL, sends signed webhooks and, if you allow it, writes to the database.
  4. When you change a row in Filarr, the gate sees it within about a second (at your plan's polling interval on Free).

Your software never gets the token: each program receives from the gate its own app key, limited to what it needs.

Who sees what

whoseesnever sees
Filarr's serversencrypted blocks, sealed keys they cannot open, counters, the gate's IP address and versionthe token, a database key, a row
the gate, and whoever runs itevery row and every column of the opened databasesyour other databases, notes, files and vaults
your softwarewhat its app key allowsthe Filarr token

Reads served by the gate never go through Filarr: they are neither counted nor limited by your plan.

What the gate is not

  • A view is not a boundary. The gate reads the whole database you open to it, not only what your views show. To share less, open a database that holds less.
  • An offline gate keeps its copy. If you revoke an access, a gate that can no longer reach Filarr keeps what it already copied until it reconnects or someone erases it on its machine.
  • Whoever runs the gate reads the databases. Protect the machine as you would protect the data.

Install the gate

The gate's documentation, with step-by-step tutorials and complete examples in curl, JavaScript and Python, lives in its public repository: github.com/filarr-work/filarr-gate. Filarr Gate 0.3.1 is published on npm (filarr-gate, @filarr/gate) and as a Docker image (ghcr.io/filarr-work/gate:0.3); the Cloudflare variant deploys from a copy of the repository.

Nothing to install: the hosted gate

Since October 27, 2026, Filarr can also run the gate for you, on the Pro, Teams and Enterprise plans, for 4 € a month or 48 € a year per box. The trade-off: the databases you entrust to it are no longer end-to-end encrypted while they stay entrusted, their key is managed by our servers. See The gate hosted by Filarr and what is no longer end-to-end encrypted.

Learn more