You do have to build your dungeon, collect resources, and capture prisoners first. You also tend to have to make them like/love you too. It is not actually hard; it can be as simple as improving the environment, talking, getting them gifts, and even feeding them fancy meals.