Skip to main content

Connectivity requirements

Written by Aron Day

3B is reached through two hostnames — the app and edge — served on ports 80/443 by the built-in nginx front end, which routes by hostname and path. Plan your URLs, DNS, and firewall rules before you install.

The external URLs

Configure two external URLs: one for the app and one for edge.

Setting

Example URL

Purpose

EXTERNAL_UI_URL

https://3b.example.com

The app users sign in to.

EXTERNAL_EDGE_URL

https://3b-edge.example.com

Webhooks and edge links shared externally.

The edge URL must use a different hostname from the app.

Hostnames and DNS

An install needs two DNS records, both pointing at your server or load balancer:

3b.example.com         A  <address>
3b-edge.example.com    A  <address>

The single-server installer asks for exactly these two URLs, and the Helm guide’s example values use the same layout.

DNS is required: the services share ports 80/443 and are told apart by hostname, so an IP-and-port-only setup is not supported. Sign-in cookies are scoped to the app hostname; the single-server installer sets the cookie domain to it for you.

If you enable space hosts with EDGE_WILDCARD_DOMAIN, create a wildcard record for the parent of the edge hostname. For EXTERNAL_EDGE_URL=https://apps.corp.example, point *.corp.example at the edge ingress and cover it with a TLS certificate. Space URLs and inbound email addresses use <space>--apps.corp.example. To keep existing dotted URLs, retain their wildcard DNS and certificate coverage, and register the old wildcard as a tenant custom domain.

Inbound ports

Setup

Inbound ports to open

HTTPS

80, 443

HTTP (evaluation only)

80

On the single-server install, nginx binds host ports 80 and 443 directly. Kubernetes also exposes the same front end on NodePorts 30080 (HTTP) and 30443 (HTTPS) if you prefer to point a load balancer at those instead.

TLS is effectively required

3B expects to be reached over HTTPS, with TLS terminated somewhere in the request path — at 3B itself or at a load balancer or proxy in front of it. This is more than a recommendation: AI providers require requests to arrive over a secure (HTTPS) connection, so configuring them does not work over plain HTTP. See TLS termination for the supported options.

Outbound connectivity

Destination

When

Purpose

oci.tines.com (HTTPS)

Install and every update

The Helm chart, container images, and install bundles. The only source of the software.

sh.3b.dev (HTTPS)

Single-server install and air-gapped bundle build

Serves the bootstrap.sh and airgapped.sh install scripts.

github.com (HTTPS), and the release-assets.githubusercontent.com redirect it uses for release downloads

Single-server install or bundle build when ORAS is absent, or a step’s Dockerfile pins a different Bun, uv, or Python version than the one bundled in the sandboxd image

Downloads the oras tool, or that toolchain release.

registry.npmjs.org (HTTPS)

A step adds or changes npm dependencies beyond what the sandboxd image already has cached

bun install fetches the new or changed packages.

pypi.org and files.pythonhosted.org (HTTPS)

A Python step adds or changes requirements.txt beyond what the sandboxd image already has cached

uv and pip fetch the new or changed packages.

deb.debian.org (HTTP or HTTPS), and security.debian.org when the image’s apt sources name it

An image build’s Dockerfile installs an apt package beyond what the sandboxd image already has cached

apt-get fetches that package on a Debian-based image.

registry-1.docker.io, auth.docker.io, production.cloudflare.docker.com, and production.cloudfront.docker.com

An image build’s Dockerfile names a base image or tag other than the ones the sandboxd image bundles (debian, oven/bun, python)

Pulls that image from Docker Hub. Layer blobs come from one of the two CDN hosts.

engineering.hq.3b.run (HTTPS)

At startup, when a license is applied, and every 12 hours

Deployment telemetry — a small report about your deployment.

Your AI providers, SMTP server, and the third-party services your workflows call

Runtime

Only what you configure and use.

The sandboxd image, which the worker runs, already bundles the default templates’ toolchain downloads, package installs, apt layers, and base images, so an unmodified TypeScript, Python, React, agent, or shell step builds with no outbound connection at all. These hosts are only contacted when a step’s Dockerfile or dependency manifest asks for something the worker doesn’t already have cached: a changed or added package, a different toolchain version, or a base image or tag the worker doesn’t bundle. A custom Dockerfile needs whatever other hosts it fetches from, including a private registry you configure.

An air-gapped server needs no internet access, but 3B must still be able to reach your AI endpoint within the isolated network. If a workflow step’s build needs something beyond what the worker already bundles, as described above, it needs the matching host, or a mirror of it, reachable from that same network. Follow Connect your AI provider for the setup steps, which are the same for air-gapped and internet-connected deployments.

Behind an outbound proxy? 3B can use it — set HTTP_PROXY, HTTPS_PROXY, and NO_PROXY (or the httpProxy Helm values). Make sure the proxy permits the hosts above.

Workflow egress and internal networks

Workflow code runs in sandboxes whose outbound requests are blocked from reaching private and internal address ranges by default (an SSRF guard). If your workflows must reach internal services, allow the tightest possible CIDR ranges via ALLOWED_CIDR_BLOCKS (single server) or allowedCidrBlocks (Helm) — see the configuration reference for the security implications before widening this.

Did this answer your question?