When to mention trade-in?

When is the best time to mention I have a trade-in:

1 - After the sales person/manager and I have come to an agreement on the OTD price?

2 - At the beginning discussions in the finance department?

3 - After everything has been discussed/taken out and ready to purchase?

4 - Other?

Thank you in advance!