Pole beans need something to grow around and up which kind of stimuli can encourage this type of growth

Gravity

Touch

Water

Light

Light - Pole beans are phototropic, meaning they will grow towards light. Providing them with a trellis or other support structure that allows them to climb towards the light will encourage their upward growth.