You need the engine and all its sensors, an oil cooler and oil cooler lines, intercooler and intercooler piping, turbo, downpipe/exhaust, ECU, wire harness. I think that's it.
You should try to get an engine, harness and ECU that all match your year. There are subtle differences year to year...