Open a tunnel
1
Install the OpenBot CLI
OpenBot owns Tilde authentication, state, tunnel, and plugin commands.
2
Sign in
Authenticate before opening the tunnel. The login flow opens Tilde and asks you to select a workspace.Run
pnpm exec openbot auth set-team later if you need to switch workspaces.3
Run your application through the tunnel
Replace The CLI opens a managed Cloudflare tunnel, chooses an available local port, and passes that port to your process as
pnpm dev with your normal development command.PORT and TUNNEL_PORT. It prints the public tunnel origin when the connection is ready.4
Test through Tilde
Keep the tunnel process running. Configure your local ChatKit agent with its endpoint path, then test it in ChatKit workspace.For a Next.js route at
app/api/agent/route.ts, use api/agent as the local endpoint path in Tilde.chatKitEndpoint verify Tilde’s webhook signature before your agent code runs. Keep the signing key and other secrets on the server.
Stop the CLI process to close the tunnel. Replace the tunnel with your production endpoint before launch.