RB Leipzig will face Sweden's Häcken in the second qualifying round of the UEFA Europa League.
Häcken recorded a 4-2 aggregate win over Latvian Virsliga runners-up Liepaja to set up the tie, the first leg of which takes place at Leipzig's Red Bull Arena on 26 July. The return fixture will be played in Gothenburg on 2 July.
Häcken finished fourth in Sweden's Allsvenskan last term.
Leipzig are competing in Europe for only the second time in their history. After exiting the 2017/18 UEFA Champions League at the group stage, they went on to reach the quarter-finals of the Europa League, losing 5-3 on aggregate to eventual runners-up Marseille.
The Lower Saxony club finished sixth in the Bundesliga last season, but Eintracht Frankfurt's surprise DFB Cup final win over Bayern Munich means the Easterners must enter the Europa League at the second qualifying stage instead of going directly into the groups.
The Häcken game will be Leipzig's first competitive meeting of 2018/19, and first since Ralph Hasenhüttl resigned as head coach earlier in the summer. Sporting director Ralf Rangnick has since taken charge of first-team affairs, with Julian Nagelsmann set to come in from Hoffenheim next term.