Hello,
Well! As per my knowledge, you should not give anything to the newborn for constipation, as it is something that babies have after they are born. They are new to the environment, and they are adjusting to the new world in respect of everything. They having breastmilk now, which they were not till they were inside the tummy, so do not worry, babies do remain constipated and it becomes fine with time.