Install it
app download <name@version> extracts the package to fused-sdks/<name>. The app apply --download convenience form does the same after an explicit apply. The package is not published anywhere, so install it from that path.
go mod tidy. Use the exact module path from its go.mod or generated README; it includes a suffix derived from the SDK name.
Vendor the package, or publish it to your own private registry. The generated package.json, pyproject.toml, or go.mod records its package identity.
Create the client
One client, one gRPC channel, shared by every service on it.token (Token in Go) is the execution token from apply. In TypeScript and Python, the optional gRPC address falls back to FUSED_ENGINE_GRPC_URL, then FUSED_ENGINE_URL, then localhost. Set it explicitly; the fallback has a trap.
The Go import above is for an SDK named support-sdk; replace it with the module path in your generated go.mod. Config.EngineURL takes Fused’s gRPC address. Set Config.HTTPURL to the HTTP address when calling hosted Unified Apps.
Shut it down
The channel is long-lived, so close it when your process does. Go usessdk.Close(ctx), as shown by the deferred call above.
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.