If it's poly pipe you use a barbed coupling and crimp clamps. If it's schedual pipe then you use a pressure coupling.
Electrolisis only occurs with metal to metal contact. If you go plastic to metal there is no problem, other than the fact that you are making life difficult for yourself.
The harder I work
the luckier I get.