If you log on to your AA account on their website and go to your flight details, there should be a section to input your passport. Usually for me a red flag shows up somewhere and when I follow it, I get sent to some kind of “additional information” page that prompts for the passport details. I think I might also get an email about it as well.