Don't move it in and out of outdoor (direct) sun because that may shock the plant. If you want to move your plant outside, start in bright shade, then after a couple of weeks a few hours of morning sun, and so on. These plants are really easy to shock into oblivion if you move them from an indoor location out into direct midday sun.
Indoor sun is not direct. Regular window glass filters out most of the harmful UV rays. You cannot provide too much indoor sun, so put your plant as close as possible to your sunniest window if it is going to be indoors. If it gets hours of daily sun indoors, that should be enough.