Planting flags in Mata Nui Online Game 2 is done through the game's interaction system—you place them at the appropriate spots by interacting with the environment as you explore.
If you're having trouble locating where flags can go, exploring the relevant areas thoroughly and watching for interaction prompts is the best way to figure out the exact placement.