UniLabs Business OS

Bridge

Built on Base44? This is how UniLabs will connect to your app

The Bridge is one backend function you add to your app. Through it, UniLabs reads only what you chose, creates drafts you approve and receives events. It never holds a Base44 token. Your app’s service permissions stay with you.

In code, not releasedThe Bridge is built and tested against a simulated app. It has not been installed in a real Base44 app, and it cannot be installed before sign-ups open.

What UniLabs can and cannot do through it

CanCannot
Read only the entities and fields you put on the allowlistSee any other entity or field, including personal fields you left out
Create draft records, for example a new supplier marked “pending”Touch users, payments, orders, refunds or invoices. The Bridge refuses to start if you try to make them writable
Change a record’s status to a value you allowedChange prices, availability or published content. Those come to you as a card
Receive events you chose to sendAct after you disconnect. The signature stops matching and every call is refused

An allowlist, in your code

You write exactly what is allowed. Everything else is blocked by default:

Illustration only
// Illustration of an allowlist in your own app. Field names are yours.
allowlist: {
  read:  { Supplier: ["name", "category", "area", "status"] },
  draft: { Supplier: { status: "pending" } },
  update: { Supplier: { status: ["pending", "invited"] } },
}

Every request is signed

Every message between UniLabs and the Bridge is signed in both directions. An old request, a replayed one or one without a valid signature is refused. The response is signed too, so UniLabs can prove it came from your Bridge.

HMAC-SHA256(secret, METHOD \n PATH \n TIMESTAMP \n NONCE \n SHA256(body))

X-UniLabs-Key-Id      which key signed the request
X-UniLabs-Timestamp   rejected if more than 5 minutes off
X-UniLabs-Nonce       accepted once, then stored
X-UniLabs-Signature   the HMAC above
Idempotency-Key       the command_id, on every write

Writes that never run twice

Before every write, the Bridge records the command as “pending”, and after it as “done”. The same command twice returns the same record. If something crashes in between, UniLabs asks the Bridge what happened instead of blindly sending again.

Installation, in short

  1. Start in UniLabs

    You get installation identifiers and a secret, shown once.

  2. Store the secret in your app

    In Base44 secrets. It never goes into code.

  3. Add two private entities

    For recording commands and preventing request replay. No user of your app can read them.

  4. Add the function

    With your allowlist, and deploy.

  5. Prove you are the owner

    From an admin screen in your app. UniLabs receives only a hash of your email, then you approve the mapping. Only from that moment is any action possible.

How to disconnect

  • From UniLabs: disconnecting revokes the grant and the secret, cancels anything queued, and lists actions whose result is unknown so you can check them.
  • From your app: delete the function or the secret. UniLabs detects the rejected signature and marks the connection revoked.
  • You can export everything stored about the connection, without credentials, and delete it after disconnecting.

What is verified and what is a hypothesis

The Base44 behaviour the Bridge relies on was checked against Base44’s official documentation: backend functions, secrets, entities and permissions. A few things are marked as hypotheses until the first real install, for example the shape of events that automations send. The Bridge is built to stay safe either way.

And Wix?

An add-on for Wix sites is planned, and will be built only on capabilities Wix documents and allows each customer. Until then the standalone route works on any address. We have no agreement with Wix or Base44.

Join the waitlist