Skip to content

AnyCable+ (Managed AnyCable) ​

AnyCable+ runs AnyCable Pro servers for you. You do not deploy, scale, or upgrade the WebSocket server. Your app connects to a hosted cable and broadcasts to it over HTTP.

  • Free plan: 2 cables, up to 2,000 concurrent connections each. Use one for development and one for production.
  • Backends: Rails, Laravel, Node.js, Python, and any backend that can send an HTTP request.
  • RPC: no RPC or HTTP RPC. gRPC is not available.

Set up in the web UI ​

The simplest way to start is the web UI at https://plus.anycable.io:

  1. Sign in with GitHub.
  2. Create a cable. Pick your backend framework.
  3. Open the cable's page. It shows the WebSocket URL, the broadcast URL, the broadcast key, and the application secret.
  4. Configure the app with these values for your backend: Rails, Laravel, Node.js, Python, or any backend.

Set up with a coding agent ​

Give your coding agent this prompt:

txt
Read https://docs.anycable.io/plus/agent-ready.md and set up AnyCable+ for this app.

The agent installs the CLI, creates a cable, configures the app, and checks the connection and a broadcast. You only approve the login in the browser. See the agent prompt for the steps.

For Rails, the agent also installs the AnyCable Rails skill. The skill helps the agent build realtime features later.

Set up with the CLI ​

  1. Install the AnyCable+ CLI and log in:

    sh
    curl -LSs https://anycable-plus.terminalwire.sh/stable | bash
    anycable-plus login
  2. Create a cable. Set --framework to rails, laravel, js, or hotwire (Hotwire without Rails):

    sh
    anycable-plus cable create my-app --framework rails --wait
  3. Print the cable's settings as env vars, and add them to the app's settings:

    sh
    anycable-plus cable info <ID> --env
  4. Configure the app for your backend, as in the web UI steps above.

Check the cable ​

Open the cable's page in the dashboard, then Troubleshooting:

  • Start diagnostic checks the cable's status and its WebSocket endpoint.
  • Logs shows the cable's live logs. Connect a client or send a broadcast, and watch it appear.

Production ​

  • Use a separate cable for production. Set its env vars in the production environment only.
  • Keep authentication on. Do not create production cables with --public.
  • Apps with custom channels need HTTP RPC. Set the RPC URL of the deployed app with anycable-plus cable update <ID> --rpc-host <URL>. See HTTP RPC.