St Johnstone manager Simo Valakari: "It's a big win for the players, for the club and for the fans as well.
"The most important thing today was to win the match and get to the next round but the first half performance was very good and in the second half we showed the character to defend.
"It has not been easy, there's no hiding but you cannot control the results. You can control the performances and I thought the players put in a good performance today."
Motherwell manager Stuart Kettlewell: "I'm really disappointed.
"I didn't feel we started the game at all and let St Johntsone impose themselves on us.
"We lacked the body language at times to take part in the game and if you do that against any opposition you're going to find it difficult."