Cities are constructed by Settler units. If the Settler is in a location where a city can be constructed, the "Found City" action button will appear. Click on the button and the Settler will disappear, to be replaced by the new city.
Civilization VI · en-US