Can you connect an inverter to a single circuit in your house?
Connect the AC In to the main breaker box. That can use the grid, when available, to help charge the batteries if needed/wanted (depending on how you configure it). Connect the inverter AC Out to a subpanel that supplies power to outlets you want backed up. You CANNOT connect AC Out to the main panel, that would backfeed to the grid and be bad.