Depending on the year of the donor car you may just want to take the ecm and the harness as well. The older the better. If you can find something that does not have an electronically controlled transmission that will make it a lot easier.
If you can get an engine, transmission and ecm with the harness it would make the task much easier.
Artificial Intelligence is no match for Natural Stupidity