CountWatchDocs

CountWatch docs / Send counts

Monitor a Base44 app

Count each backend function call, ok or error, and get an alert when the pattern breaks.

Count each Base44 backend function call, ok or error. Get an alert when one starts failing or stops being called.

You need: a Base44 app on the Builder plan or higher.

Base44 apps run their logic in backend functions. When one starts failing, or stops being called, nothing on the page tells you. CountWatch counts each call, ok or error, and tells you when the pattern breaks.

How to set it up

  1. Sign up at countwatch.com (free, no card).
  2. Paste this into Base44's chat: "Set up CountWatch for this app: read https://countwatch.com/agent and follow it."
  3. The agent tells you to add CountWatch as a custom MCP server (Builder plan or higher):
    • Open your workspace name (bottom left) → Account settings → Builder → MCP Connections → Add custom MCP (or Add MCP).
    • Enter the URL https://countwatch.com/mcp and Authentication OAuth, then press Authorize & Add and sign in.
    • Tell the agent you are done. If its chat does not see the tools yet, turn the connection off and on.
  4. The agent proposes what to watch and makes the watches. It wraps each backend function with the Base44 recipe, so every call counts, with its name and outcome as tags.
  5. It opens Base44's secret form for COUNTWATCH_WEBHOOK_URL. Open the link in the form (New watch for Base44) and press Create watch. Copy the Webhook URL and save it in the form. It is not an API key. Keep it out of the chat.
  6. The agent redeploys the functions and publishes the app again (Base44 keeps the old functions until you do). It calls one function and finishes when the first count arrives.

The recipe runs in our automated tests. Base44's own agent has not yet been run end to end through this setup.

What you get

One watch per function and outcome. An error count that jumps, or a function that stops being called, alerts you by email at first. Add Slack, a webhook or PagerDuty under Destinations. Each tag value is its own watch, so group related functions to stay within your plan.

For agents: this page as Markdown.