From which year it is? I had similar adventures. Paid ~1300 EUR for the whole procedure (used engine + swap)
Found engine for around 950€ with around 20k miles on it. But I have a DCT version. Manual gearbox versions are cheaper.