You can go through this tutorial to get idea about how VLANs are configured on Mikrotik. You did not mention which particular MT device type you’re trying to configure so it might be that the way of configuring explained in linked tutorial will not be the fastest one, most of MT devices support VLANs in hardware (but configuration is different and details depend on device type).