Skip to main content

Connic Bridge

Connect your private infrastructure to Connic Cloud. The Connic Bridge runs inside your network (VPC, on-prem, etc.) and creates a secure outbound tunnel to the Connic relay. No inbound firewall rules required.

Quick Start

Docker (recommended)

docker run -d --name connic-bridge \
  -e BRIDGE_TOKEN=cbr_your_token_here \
  -e ALLOWED_HOSTS=kafka:9092,postgres:5432 \
  connicorg/bridge:latest

pip

pip install connic-bridge

connic-bridge \
  --token cbr_your_token_here \
  --allow kafka:9092 \
  --allow postgres:5432

Configuration

Option Env Var Description
--token BRIDGE_TOKEN Bridge authentication token (from Connic dashboard)
--relay-url RELAY_URL Relay URL (default: wss://relay.connic.co)
--allow ALLOWED_HOSTS Optional host:port allowlist; if omitted, all network-reachable hosts are allowed
--log-level LOG_LEVEL DEBUG, INFO, WARNING, or ERROR

How It Works

  1. The Connic Bridge establishes an outbound WebSocket connection to the Connic relay service. No inbound ports need to be opened.
  2. When a Connic connector (e.g. Kafka, PostgreSQL) needs to reach a private endpoint, the relay asks the bridge to open a TCP connection.
  3. If an allowed hosts list is configured, the bridge validates the target against it, then opens a local TCP connection and proxies data bidirectionally.
  4. All traffic is encrypted via WSS (TLS).

Connect Services That Discover Endpoints

Some clients receive a different hostname or IP address after their first connection. Automatic destination routes send those follow-up connections through the correct bridge without requiring changes to your client code.

Configure routes under Project Settings → Bridge. To restrict what the bridge can reach, add every permitted host:port to ALLOWED_HOSTS. When the variable is unset or empty, every host reachable from the bridge's network is allowed.

See the automatic destination routes guide for setup instructions, API usage, supported patterns, and limits.

Security

  • Outbound-only - the bridge never accepts inbound connections.
  • Optional allowed hosts - set an exact host:port allowlist to restrict access. Without one, the bridge can reach any host available from its network.
  • Token authentication - each bridge is tied to a single Connic project.
  • TLS encryption - all relay communication uses WSS.

Release files for connic-bridge 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for connic-bridge 0.1.5
File Size Uploaded
connic_bridge-0.1.5.tar.gz 17.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for connic-bridge 0.1.5
File Interpreter ABI Platform
connic_bridge-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 25.1 kB

Release files / connic_bridge-0.1.5.tar.gz

Download URL connic_bridge-0.1.5.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
77c2bf8e0954b5235f8baf1b1f750bf7ccde798b135443fcfb7e8241819d05e4
BLAKE2b-256 checksum
How to use checksums
df12846cc5b6c28c55fe98ebe601110c054a214f0da3f2dfb9cafd9f3c172b8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 18, 2026.

Transparency log

Release files / connic_bridge-0.1.5-py3-none-any.whl

Download URL connic_bridge-0.1.5-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad9473ec1ea195283bef7e4a8c4b8fc67fec709f8697db2c5664f6d3f94a2028
BLAKE2b-256 checksum
How to use checksums
d38942e345fc81004c201b1d3293dda13e7334ee50889de2388e44083cb25d51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page