The CR10 and Ender 3 are actually quite similar, so perhaps this series of guides will be helpful.

https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+1:+Wiring/37