We’re working on updating docs in this area (this week actually), but this might point you in the right direction: