Aberdeen have been drawn against Vilnius of Lithuania or Swedish club Hacken in the Europa League play-off.
The ties will take place on 24 and 31 August, with Aberdeen away in the first leg.
Even if the Dons lose the tie, they are assured of a place in the Europa Conference League.
Barry Robson’s side were seeded first in the draw as a result of qualifying directly for this stage because they finished third in the Premiership.
More to follow.