Connecting electric motor on washer bottle

I use the push to washer switch wire to get a single sweep intermittent wipe function.
I have the foot pump wash set up but never installed it.