Connecting a portable washing machine to a shower head

I recently bought a portable washing machine as I live on a 3rd-floor walkup with unreliable laundry service in the basement. The one snag I hit was that nearly all portable washing machines assume connection to a sink. I didn’t have a sink handy, but I did have a showerhead and I was convinced there was a way to do this.

Quite a bit of internet searching showed other people had done it, but nobody had posted the list of parts you needed to do this. Thanks to two hours in a Home Depot and several helpful employees, here are the things you need to buy from Home Depot:

For reference, I have the Home Chef washing machine and dryer combo.

Assembly is easy as the parts will only fit one way. Here’s what the finished project looks like: Photo of completed project