Break the gula melaka into smaller pieces. You can cut it or grate it. Sometimes when I'm lazy I just briefly pound it so it breaks into 2-3 smaller pieces. Obviously they're not as small as if I had cut or grated, so you need to work extra hard stirring here!
Add all the ingredients to the pot except the salt.
Turn the heat to medium and bring the pot to a boil- do use a pot that is much bigger than you need so the vegan coconut caramel sauce won't overflow and burn you!
Once it reaches a boil, turn the heat down low so the sauce is at a simmer and stir till everything is dissolved. Stir every now and then to make sure no palm sugar sticks to the bottom of the pot and burns.
The time you leave the syrup simmering for depends on how thick a coconut caramel syrup you want, your palm sugar (as each batch differs), how fat your coconut milk is, how much sauce you're making and the type of stove you use! The thicker you want it, the longer you leave it on for but you will need to stir continuously towards the end as the coconut caramel burns easily once it thickens up. (For a point of reference, I leave mine for 1-1.5 hours on an induction stove and 30-45 minutes on a gas stove when making 2 Cups of coconut caramel.)
Once happy, fish out the pandan and toss it (if using). Switch off the stove, stir in the salt (if using), remove the pot from the heat, stir and let the coconut caramel cool down. (If you're tasting, remember to let the sauce cool before trying! Keep out of reach of pets and children so they don't hurt themselves!)
After cooling, pour it into an air-tight glass jar and put it in the chiller. Make sure to stir this dairy-free caramel before each use!