We analyze the formation of an export-oriented international joint venture (IJV) between a multinational corporation (MNC) and a domestic firm under demand uncertainty and in a principal-agent framework. The MNC possesses a superior production technology and is better at predicting foreign market demand. The domestic firm can reduce set-up costs of the IJV with effort levels that is endogenously determined. We examine how the MNC's preference for, and the ownership structure of, a joint venture depend on the efficiency of information gathering and of cost reduction, and on the nature of credit markets. We find, inter alia, that when the credit constraint is severe the MNC does not push the domestic firm to its reservation profit level. A relaxation of the credit constraint facing the domestic firm never makes it better off and in fact makes the domestic firm worse off when the credit constraint is severe.