To enter into the legendary cup, you must have one Common Capture Ball. If you have one, then you need to go to the Arena and then the Battle action. On the right, you see an arrow that will lead you to the front of an Empress-like Girl NPC. Just Tap on "Talk" to join the legendary cup menu.