You know how to get a population, right? And how to place it? Good!
Now. Create a surface layer node in the node view. Chenge the name of the node in whatever you want, and copy it with ctrl-C. In the population settings there is an option to 'use density shader' with a textbox next to it. Paste the name of the new surface layer there with ctrl-V, and you have a density shader.
In the surfeca layer, set the desired slope constraints and altitude constraints, and populate the population. If you enable 'preview instances' you can see if you did it right, or if you need to change some things.
I hope this helps you enough.