To add a background in Pixie, you create a sprite object using a background image file (e.g., background.png). This sprite is then added to your scene to serve as the background.