This is by no means a legitimate way to do this. But, it is a way to do it. Ideally your generator has circuit breakers on-board so, you don’t have to worry too much about short circuiting. But there are more legit ways of accomplishing this task. I am not legit. The generator I am using. https://www.homedepot.com/p/DUROMAX-1... Propane tank I use for back up fuel. https://www.ebay.com/itm/224648076363