Sidelatch Docs
Docs menu

View as Markdown

Build a portal

When a portal you need isn't listed, build it yourself in the console (Portals → Build a portal) or from your own Claude over MCP. A build records you using the portal once and turns what its web app does into a connector: every read afterwards is a compiled API call (milliseconds, the same answer each time, watched for changes), not an AI driving a browser.

  1. Describe. The portal's sign-in page and the data you need in plain English. We check the page answers and the data is in scope, and suggest a clearer description when it's vague. Banking and money movement, health records, government IDs, other people's accounts and public data are refused.
  2. Schema. We draft the output from your description (records, fields and types); edit it as you like. Insurance portals map onto the standard insurance model.
  3. Sign in and show us. Our hosted browser opens the real sign-in page. You sign in (answering any code or check yourself) and open each screen on the checklist. Only the portal's own requests are recorded, encrypted, and kept at most 7 days.
  4. Build. The builder finds the sign-in and every data call, maps the fields onto your schema and tests every read on a scrubbed copy of the recording. ready means every field was found; partial lists the missing ones (record those screens again); needs_operator means it needs us (a bot check on the data, signed requests): it becomes a portal request with your recording attached.
  5. Prove it. The session you signed in with becomes a test connection and every read runs on it, with your data shown beside the schema. "Looks right" publishes it.
  6. Use it. The portal is yours and private (marked Private beta): nobody else sees it. Use it like any portal: the connect window, /v1/connections/{id}/run and MCP.

Plans and limits

  • Company accounts: 5 builds a day; what you build is billed like any other portal.
  • Free: one portal you build and your own one connection to it, 3 builds every 30 days, no connect window for other people. Move to a company account (POST /v1/portal-builds/move) takes the portal to your company's account when you bring it to work.
  • Sandbox: the whole flow against our test portal.
  • Reads only: writes stay operator-built. Bot checks are never worked around.

Building from your own Claude

Connect https://sidelatch.com/mcp with your API key. Free, Pro and company accounts get four builder tools: build_portal_start, build_portal_schema (your Claude drafts the schema on your plan), build_portal_status and build_portal_publish. You still sign in on our capture page; the tool gives you its link.

Who pays for the model

Drafting the schema and mapping fields use a model. Add your own Anthropic API key under Settings → AI (PUT /v1/ai-key) and those calls go on your key; the scope check always runs on ours. Your key is encrypted like a login and never logged.

Or, where available, choose Use your ChatGPT plan in the same place: Sign in with ChatGPT lets those calls count toward your ChatGPT plan's limits instead (manage them in your ChatGPT settings).

Portals that won't compile

Some portals can't be compiled (data only in rendered pages, signed requests). Company accounts with their own model key can run them as an agent portal: each read, an agent walks the pages read-only and reads them into your schema (slower, priced per run, counted in /v1/usage). After a few good runs it tries to compile itself from what it saw, and switches to compiled reads when they match.