Diplomacy is handled through the interface along the top of the screen. Pressing the diplomacy button opens the panel listing every player in the match, where you can set your stance toward each one — ally, neutral, or enemy. Note that in single-player scenarios your options depend on what the scenario allows.