Skip to main content
The CLI builds and ships the SDK. Your application is what actually calls it. This page gets the package installed and a client running; run an operation is the call itself. The package is an ordinary npm or pip package. There is no Fused runtime to deploy alongside it; it opens one gRPC connection to your Engine and that is the whole dependency.

Install it

sdk apply --download extracts the package to fused-sdks/<name>. It is not published anywhere, so install it from that path.
Vendor it, or publish it to your own private registry — the generated package.json and pyproject.toml carry the name you gave the SDK.

Create the client

One client, one gRPC channel, shared by every service on it.
token is the execution token from apply. grpcUrl is optional — it falls back to FUSED_ENGINE_GRPC_URL, then FUSED_ENGINE_URL, then localhost. Set it explicitly; the fallback has a trap.

Shut it down

The channel is long-lived, so close it when your process does.

Run an operation

The call itself: what you pass, what comes back, and what can go wrong.

Receive events

The other half of your application code: reacting to what the provider sends you.