How to use ground power

Which Aircraft?

Some have it built into the EFB / or MCDU (FMS) to connect it.

GSX Pro is great for these kinds of things.

I only fly on VATSIM, but use GSX Pro so that takes care of the Pushback, Loading, Ground Power, etc… It’s well worth it for flying Airliners.