To rim the glass, add a shallow layer of coco real to a plate. Add a layer of coconut to another plate. Dip the rim of the glass into the coco real, and then into the coconut.
Put ice, pineapple juice, coco real, and blue curacao into a cocktail shaker. Shake thoroughly and set aside.