I have a buddy who almost killed himself playing with solar panels, batteries and an inverter. I have been doing electronics and electrical stuff for 30+ years, and I can do all the calculations necessary to design and engineer this stuff, and you won't catch me doing anything without having a drawing of what I want to hook up. Even the pros make mistakes doing wiring. Electricity is not a forgiving entity. You "have" to know what you are doing. I would recommend that you have an electrician pull the circuits you intend to power with the inverter off the main panel and connect them in a sub-panel with a disconnector switch that will allow you to run them either from mains power or inverter power. They would be isolated from the rest of the circuits when switched to inverter power and should you forget to turn off the inverter before running the generator or connecting shore power you cannot back feed anything. You need to calculate the different loads you want to connect, both their running current and starting current draw to make sure that your inverter will not be overloaded. Your electrical panel comes equiped with either a rotary switch or an interlock switch to prevent you from accidentally connecting two sources at the same time. You will need the same type of interlock or rotary switching to prevent problems for your inverter.