Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Quickstart

This page gets Tappet running on your machine, builds a small webhook workflow, and runs it. It takes about five minutes. For production deployments, read Deployment afterwards.

1. Install

Choose one of the three options. All of them give you the same tappet binary.

Binary

Release archives are published for x86_64-unknown-linux-musl, aarch64-unknown-linux-musl (both fully static) and aarch64-apple-darwin.

# Download the archive for your platform from
#   https://github.com/tappet-dev/tappet/releases
# and its .sha256 file, then verify and install:
shasum -a 256 -c tappet-*.tar.gz.sha256
tar -xzf tappet-*.tar.gz
sudo install -m 0755 tappet /usr/local/bin/tappet
tappet --version

On Linux the binary has no runtime dependencies, so the same file works on any distribution, including Alpine and minimal container images.

Homebrew (macOS and Linux)

brew install tappet-dev/tap/tappet
tappet --version

To run Tappet as a background service that starts at login:

brew services start tappet

Docker

docker volume create tappet-data
docker run -d --name tappet \
  -p 5678:5678 \
  -e TAPPET_HOST=0.0.0.0 \
  -v tappet-data:/var/lib/tappet \
  ghcr.io/tappet-dev/tappet:latest

The image is built on a distroless base and runs as a non-root user. TAPPET_HOST=0.0.0.0 is needed because Tappet listens on 127.0.0.1 by default. For a Compose setup with a reverse proxy, see deploy/docker-compose.

2. Start the server

tappet serve

On first start Tappet:

  • creates its data directory (~/.tappet for a user account, /var/lib/tappet for a system service; override with TAPPET_DATA),
  • creates the SQLite database and runs migrations,
  • in development mode, generates an encryption key at ~/.tappet/encryption.key with mode 0600. Back this file up: without it, stored credentials cannot be decrypted. In production mode (TAPPET_ENV=production) Tappet refuses to start without TAPPET_ENCRYPTION_KEY.

Check that it is up:

curl -s http://127.0.0.1:5678/healthz

Open http://127.0.0.1:5678 in a browser and create the owner account.

3. Build a workflow

In the editor:

  1. Add a Webhook trigger. Set the path to hello and the HTTP method to POST. Set “Respond” to “When last node finishes”.
  2. Add an Edit Fields (Set) node after it. Add a string field greeting with the value =Hello {{ $json.body.name }}.
  3. Save the workflow.

Click Listen for test event, then send a request to the test URL:

curl -s -X POST http://127.0.0.1:5678/webhook-test/hello \
  -H 'content-type: application/json' \
  -d '{"name": "Ada"}'

The response contains {"greeting": "Hello Ada", ...} and the canvas shows the item counts on each connection. Click a node to see its input and output data.

Activate the workflow with the toggle in the top bar. The production URL is now live:

curl -s -X POST http://127.0.0.1:5678/webhook/hello \
  -H 'content-type: application/json' -d '{"name": "Grace"}'

Production executions appear under Executions, where you can inspect each node’s data and retry failures.

4. Use the command line

Every workflow can also be run without the server. Export the workflow from the editor (Download), then:

tappet run hello.json --input '{"body": {"name": "Linus"}}'

tappet run prints the final result as JSON on stdout and exits with 0 on success, 1 if the workflow failed and 2 for usage or import errors, so it fits in scripts and CI jobs.

5. Import a workflow from n8n

If you have workflows exported from n8n, import one:

tappet import my-workflow.json --report text

The report lists every node with its status (NATIVE_EXACT, NATIVE_PARTIAL or UNSUPPORTED_NODE) and the credentials you need to link. The import dialog in the UI shows the same report. Continue with Migrating from n8n.

6. Make it reachable from the internet

Webhooks from external services and OAuth2 sign-in need a public HTTPS URL. Set it with TAPPET_PUBLIC_URL:

TAPPET_PUBLIC_URL=https://automation.example.com tappet serve

For local development, Tappet can start a Cloudflare quick tunnel if cloudflared is installed:

tappet serve --tunnel cloudflared

The tunnel URL is printed at startup and used as the public URL for that session only.

Next steps

  • Concepts: how items flow and how expressions are evaluated.
  • Configuration: every environment variable.
  • Security model: what is allowed by default and how to tighten it.
  • Deployment: Docker Compose, Kubernetes, systemd and PaaS examples.