It requires little sun, just be careful to water it lightly. It hates having it's feet wet.
Rosemary is hard to grow from seed I have found so I am careful with my plant. Besides when has grown a bit it makes a nice mini Christmas tree. :)
I did bring it indoors and would put it outside in the warmer weather, but it didn’t make it.
Either it got caught in a freeze or I overwatered it.
I will try again this year and keep in mind about the soil and roots.