You have to create a Virtual Switch in the Virtual Switch Manager.
There you will be able to manage it, if your wifi connection is the only one you are using make sure to tick "Allow management operation system to share this network adapter"
Once done add it to the vm in the settings