foreign tax credit

I had capital gains that should be shown as foreign source (passive category) on Form 1116.  How do I enter them on Turbotax so they are shown that way?