Mix the cream cheese, drained pineapple, chopped onion and salt together. You can use a blender if you don't want the chunkiness of the pineapple, but don't mix too long or it won't hold up in a ball.
To shape into a ball: Spoon cream cheese mixture onto a sheet of plastic wrap. Wrap in the plastic wrap and shape into a ball.
Place in the freezer for about 10 minutes. May need a little longer if blended.