Use a specialized foam panel called Bekotec to lock the PEX tubing in place, cover it with a sand-and-cement mix, and tile away. (See below for a shopping list, …

source