The preparation should be done as early as possible.
It could start at pre-deal stage where the team has certain hypothesis about how integration should be done.
these hypothesis should then be tested and refined during the due diligence stage as the acquirer understands the target company better.
a draft integration plan should be prepared post due diligence, with the involvement of all relevant functional and senior management team