Entry points
The Platform SDK has two entry points:@base44/platform:createPlatformClient()opens the browser connection, and itschatmodule follows the AI chat of up to eight apps over one connection.@base44/platform/server:createPlatformServer()gives your backend thewebhooksmodule, which verifies and handles the events Base44 sends.
Installation
Install the Platform SDK via npm:Quick start
Your server opens a socket session with a workspace API key through Create socket session, and returns the response body to the browser. Keep the key on your server. The first step of Live updates shows how. In the browser, start a chat session, subscribe to an app, and connect:See also
- Live updates: Open a session on your server, follow the AI chat in the browser, and apply snapshots and events.
- The build turn: What happens between a prompt and a finished build.
chat: Sessions, subscriptions, and the events the chat sends.webhooks: Verify and handle the events Base44 sends your server.