Adding an ubiquiti XG 6 POE to my Cisco Network

Hello, I have a Cisco Network but I am using some ubiquiti Access Points which work fine. I am trying to connect these ubiquiti AP’s to an ubiquiti 6 Port XG Switch but lose internet access if I go through the ubiquiti switch. I don’t have any VLANS configured in Unifi Network and was wondering if maybe that is the reason why. Will I break anything if I create these VLANS in Unifi Network which I think is what I need to do?

Thank you for your help.