James Forrest hit a last-gasp winner as Celtic overturned a first-leg deficit to secure a 3-0 win and book a place in the Champions League group stage.
The attacker fired home in the second minute of injury-time to clinch a 3-2 success on aggregate.
The Scottish champions had trailed 2-0 from the first-leg but reduced the arrears on the stroke of half-time through a Kris Commons strike.
They pulled level just three minutes after the restart courtesy of Giorgos Samaras.
There were scenes of celebration in the stands and on the pitch after the final whistle blew.
Boss Neil Lennon described the match as, "the greatest night of my football life."
He added: "The players were wonderful, absolutely wonderful. The night required patience but there was a real willingness about the players to do it."
Celtic earned around £22m from last season's Champions League, when they reached the last 16 before being knocked out by Juventus.