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 run -d --name connic-bridge --restart unless-stopped \
  -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

The agent reconnects after network interruptions but exits when the relay rejects its token or the project has no active deployment. Run the pip agent under a service manager that starts it again, such as a macOS LaunchAgent with KeepAlive or a systemd unit with Restart=always. See running the bridge as a service for both files.

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.

Metadata

Release files for connic-bridge 0.1.8

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.8
File Size Uploaded Provenance
connic_bridge-0.1.8.tar.gz 22.2 kB With provenance Details

Built distribution (wheel)

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

Total release size: 31.8 kB

Release files / connic_bridge-0.1.8.tar.gz

Download URL connic_bridge-0.1.8.tar.gz
Size 22.2 kB
Tags Source
SHA-256 checksum
How to use checksums
34e7ed827510d08904be4192a95f5fcf4870d4aec28d27fb8962fd21c848a9fc
BLAKE2b-256 checksum
How to use checksums
64b7423b96a36c4ff749276ebceffb7e2391a31e3f460a63f7a1fdbf6b2d435a
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 Oct 24, 2026.

Transparency log

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

Download URL connic_bridge-0.1.8-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55fbe4b2b3f4b8a12410df2c16aa58acbca9a1656af74cbb6067ac24dbfe6974
BLAKE2b-256 checksum
How to use checksums
3f9b349ef4b24976c8b712f678067aa3db6f095c74760469fa6ac3f09cb8d065
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 Oct 24, 2026.

Transparency log

Security for connic-bridge 0.1.8

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for connic_bridge-0.1.8.tar.gz

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 Oct 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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