Unless you are in a very hot place with dry air, like a desert, you should try and give it as much sun as it can get. However, they will do well, with any decent amount. The main thing is plenty of water without drowning it and as much sun as possible.
I have mine on the west side of my house, so most of the time it not getting full sun until near mid-day. The grew great!