Most culinary herbs require at least five hours of sun per day.
You can use a sunny window, provided the reflected heat is not too intense. If you don't have a window with direct sunlight, put your pots of herbs in a spot with plenty of light, then move them into the sun for a few hours whenever possible. Fluorescent lights or special grow lamps also work if left on about 14 to 16 hours per day. Place the lights 12 to 18 inches above the tops of the plants. If the light source is too far away, insufficient light will reach the plants, and they won't grow.