How to build an end-to-end supply chain