Log in to either your AAdvantage or Dividend Miles account and you can link your miles accounts!
You only need to do it one place. I linked mine on the AA site first and when I tried to do it on US Airways website, it said that they had already been linked.
Make sure your personal information matches before trying to link them.