Assuming you are connecting a wired thermostat.
Hcom goes to COM
Hon goes to NO
If you need to make the yellow and green wires safe you can connect them to P1 and P2. These are just parking terminals and have not electrical connection.
Yes, you can ignore NC. NO and NC are just opposite poles on the relay switch. When NO is live then NC will be off and vice-versa. NO and NC cannot both be live at the same time, nor can they both be off.