I'm a bit confused...title says blown engine but you are asking about the trans.
Are you asking if the engine has to come from an engine with the same trans as yours?
Or are you only swapping the trans?
Swapping the trans means the TCU to ECU adaptation and coding need to be correct. Wires are needed...and more (shifter, one driveshaft I believe...etc.). You will not likely find a step-by-step DIY to do this...so you will probably be on your own. Thorough searching may find something still.
It can be done, but it is some work to get right. Here's one's opinion:
https://www.mk5golfgti.co.uk/forum/index.php?topic=103531.msg1009187#msg1009187