To answer your first question, you need to understand what signals on what lines the boiler is expecting.
Have a look in the boiler manual and it should tell you how to wire it to the controller. If it only requires three inputs then make a note of which three lines you connect to the boiler...