Pole beans are fairly easy to grow and are a great crop to have for a small garden.
Pole beans are a great nitrogen fixing crop. They will help to fix some of the nitrogen in the soil and convert it to nitrates that can be used by the crops you plant next. Pole beans are often planted as a cover crop after harvest and they can be pulled or cut at ground level. If you have a large area, you could consider planting a couple of different varieties.
However, onions, garlic and chives should not be planted near pole beans.