Need tool or trick for washer elec pump install

Socket with a swivel and an extension?

Cant remember if the socket will go over top of the pump inside the jar??
You may have to sacrifice a wrench and heat up n bend it to fit inside. Use an extra spare wrench, Ive had to sacrifice wrenches like this before.