Religion in US foreign policy

How important is religion in US foreign policy?  Were Christian realists right in arguing that the main difference between communism and liberalism was religion?