Did you know that pineapple are actually in the bromeliad family? Such a neat plant to add to your collection. (And yes, you can eat them!)
Plenty of bright direct light, preferably in a south-facing window where it will get the most sun each day. Allow soil to dry between watering, an overwatered pineapple will lead to rot. This plant can absorb water through it's leaves as well, so feel free to mist, but don't overdo it. Once your pineapple has been harvested, continue to care for the plant and watch for new pups to pop up around the base of the mother plant.