Skip to content

Replit Tunnels Let Agents Query Databases on Private Networks

Replit Tunnels connect its workspaces and Agent to databases and internal APIs on private networks through a connector the customer's IT runs; early access only.

Replit Tunnels setup page with a docker command to enroll a connector and an empty endpoints list
Replit Tunnels · Credit: Replit

Replit added Tunnels, a connection that lets its cloud workspaces and Agent reach databases and internal APIs sitting on a company's private network. Replit has not announced a price or a general release date; enterprise customers can ask about early access.

Each tunnel runs through a client that the company's IT team operates inside its own network, per Replit. IT chooses which services each workspace can reach, so the network is not opened wholesale and takes no public inbound connections. An mTLS link encrypts and authenticates the path between that client and Replit. Authentication and TLS for every private service are configured separately, and Replit says the database's own permissions still decide what Replit can read or change. Connector sign-in requests, Agent tool calls and requests from published apps all travel the same route.

Replit describes Tunnels as an alternative to allowlisting Replit's sandbox egress IP addresses in a company firewall. The tunnel is built for private TCP services. An endpoint is registered by hostname and port, such as database.internal.example:5432, because the current interface does not accept IP-address destinations. The connector comes as a Docker command or a Helm chart for Kubernetes, while Replit runs the control plane. After a tunnel is created, its enrollment key appears once, and each tunnel holds two key slots. Revoking a key blocks new enrollments but leaves established sessions running, so a connector must be restarted with a fresh key to cut it off.

Once Tunnels is enabled, tunnels are created under Workspace Settings, with endpoints added for each private service and a connection test before saving.

Replit sketched three uses. A finance team could ask which accounts need a second look, drawing on Stripe, SharePoint and Snowflake records behind the firewall. A healthcare operations team could find patient referrals still waiting to be scheduled, drawing on Calendly and DrChrono records. A manufacturer could build a shortage dashboard from NetSuite, Shopify, Databricks and Shippo data.

Tunnels sits beside the Bring Your Own Cloud options Replit introduced in October. Full BYOC moves the Replit platform into a customer's own Azure, Google Cloud or AWS tenant and is in private preview for enterprise customers. With Tunnels, the workspace stays on Replit, and traffic reaches each private service through the connector inside the company network.

Share this story

Grace Sullivan

Grace Sullivan is a news-desk byline at techshooked, often on product launches and company announcements across every coverage area. A brief under this name states what shipped, what it costs, where and when it is available, and what the maker has confirmed, with the announcement itself linked, so a reader gets the facts of a launch in one short read.