Most install using a J-box, and the reason is if something goes wrong and you need to scan for codes you only need to remove the dust cap on the box to read.
If you don't use a J-box and just use a 10 pin cable from the motor then you need a resistor 10 pin CAN connector and just connect Gauge...