How do you get mew in Pokemon Stadium?

Complete all the Stadium modes, the Gym Leader Castle, and beat Mewtwo in the VS Mewtwo mode and you will be able to select Mew as a rental pokemon in the Prime Cup mode.