- define dRPC API - register API routes - handle API requests - connect to coderd via dRPC API (copy external provisioner approach)