Plant green beans in fertile, well-drained garden soil in a location that gets at least six to eight hours of sun per day. When planting varieties designated as pole beans, use a green bean cage, trellis or—as the name suggests—a pole to keep them off the ground.