Other than buying tickets at the train station (via the ticket window or automated ticket machines), there are only two ways to pre-purchase train tickets for trains in Portugal—either from the Official Portugal Rail Website (Comboios de Portugal) or through the third-party reseller Omio.