Left 4 Dead 2 is built for four-player co-op, so three is simply a lobby with an empty slot.
Invite the friends you want, start the campaign, and the game fills the vacant fourth position with an AI survivor. You do not need to change any setting to make it work.