Follow this guide for setting guest VLAN for AP: http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1
Commands for WiFi setup shouldn’t differ much from old WiFi package or use Winbox for setup it, VLAN setup is not directly related to WiFi setup except knowing which wifi intarfece needs to be part of which network.