Hello,
For the 12 Volts board and the motor is also 12 Volts, the same power can be used.
You can connect the 12 Volts to the contacts of the relays, to control the motor power.
In post # 28 @Harald Kapp showed how to connect the motor using two relays, for bi-directional control.
Bertus