The Starwood link is working now (it was out for all partners, not just Amtrak), and you should be able to input your AGR number to earn AGR points as part of the Airline Direct Deposit program.
https://www.spgpromos.com/moremiles/...MoreMiles_enUS
Anthony