1. Create a project
Sign in at app.pult.sh and add a project. Pult creates its first environment and shows you its key once. Put it in your app’s environment asPULT_KEY.
2. Install
@lantharos/pult for now, and installing it under the name pult keeps your imports as "pult". It’s both the library your app imports and the pult command.
3. Add a config
pult.config.ts sits at the root of your app. It names the project and tells Pult where your definitions live.
include matches. A common layout keeps resources next to the code they wrap (src/users/user.pult.ts) and inboxes, roles and views together in pult/.
4. Describe a resource
5. Add an inbox
6. Build
.pult/manifest.json and .pult/index.ts. Commit both: manifest changes then show up in code review like any other change.
7. Connect and send
listen() opens a WebSocket from your app to Pult. Pult sends action requests down it, so your app needs no public endpoint. Now send something: