MOTOR HOME SELF SWITCHING, VOLTAGE SENSING SPLIT CHARGE RELAY KIT - 12V, 30 AMP

It simply connects between the two batteries. The relay is connected between the vehicles main battery (Positive) and the leisure battery (Positive). The most important part of the circuit are the fuses!

eBay