You don't earn them — the ticket comes with the pet when you buy it at the store. Pick up the pet and the train ticket is included.