Hi Mito,
I would imagine that it would be very similar to creating a custom deploy with custom assets/ Custom protocol / agent. Making a custom deployment is documented in OR documentation. I answered my own question on how to deploy a custom asset. See my [method]