It is not all that difficult to attract butterflies to your garden and have them set up house. There are two things that butterflies are seeking: one is nectar, the food that adult butterflies need, and the other, host plants, the place where the female will lay her eggs and the food that caterpillars need. Both are necessary to create a successful butterfly garden.
It does take some thought and a bit of planning but then so does any successful garden. You need to know which butterflies are native to your region. You need to know what they like to eat and where they sleep, in short, you need to know butterfly habitats and habits.