The flue pipe should be the same size as whats at the back of the heater. One inch clearance when it passes thru a combustible wall or ceiling. Use type ''b'' double wall. Go above the eve of the structure and use a cap that's designed for double wall pipe.