Add sunlight slowly, over the course of a few days, to prevent sunburn. In bog gardens, flytraps thrive near tall pitcher plants that can provide some shading. Often, Flytraps will thrive in constant full sun. Artificial light can work, as long as it's very bright and not too hot, e.g. 4-7 inches below fluorescent plant lights. Moisture - Keep moist and in a relatively humid environment.
Periodic flooding is a good idea, but be sure to provide drainage.
Flytraps do not thrive in constantly flooded or stagnant conditions. In terrariums, flood the container, then siphon off the excess water. Place the siphon as close as possible to the container bottom while draining. This helps prevent salt buildup and stagnation. If you are growing in a pot, use a plastic pot with drain holes.