The President of India appoints the Prime Minister, usually the leader of the majority party or coalition in the Lok Sabha. The Prime Minister then recommends individuals for ministerial positions, and the President appoints them on the advice of the Prime Minister. The process ensures that the Prime Minister has the confidence of the legislature.