People typically become infected with Legionnaires’ disease by either inhaling tiny droplets of water mist containing Legionella bacteria through the nose or mouth, or swallowing contaminated drinking water.
Source: https://www.livescience.com/legionnaires-disease.html