I haven't done a "how-to" because I took the hard way, and didn't want anyone to have to repeat it. But this is the method I took.
I bought the Chilton's manual that covers all Zs and ZXs through '89. It has all the ECU wiring diagrams with pin numbers for each year. I mapped my '82 wiring harness to my '87 (I converted to an '86 later) ECU, then cut the ECU connectors off, and rewired all the signals to the right pins on the Z31 ECU. It was time consuming, most of the connections didn't need to be cut and rewired, but it was easy. I had to add quite a few wires that didn't exist before, such as ignition signal wires, heated O2 wires and a new fuel pump control logic. I hear some people got theirs up and running with the original 280ZXT connectors, but it left so many things out, and I wasn't sure how the ECU would operate without them.