To enter the St Vitus Cathedral you need to purchase a ticket to the Prague Castle circuit. This ticket also includes other Prague Castle historical and cultural buildings.