Plug into socket?

I can’t seem to figure this out. You know how there’s a plug and you pick it up with your gravity gun and it sticks it into the socket when you get it close enough? Can anyone give a detailed tutorial from the connecting wires to the plugging it in? Thanks.

heeeerrre you go

Thanks so much. This will really help.