What are you trying to set up?
It ultimately depends. If you need to carry multiple SSIDs with different VLAN tags, then yes, the port on the switch needs to be configured as a trunk. If not, then you can set it to access and the AP should get a DHCP address automatically.
Confirm that there is nothing wrong with the DHCP server, the switch port is enabled, assigned to the VLAN you want the AP to be on (preferably management VLAN which should be the native VLAN if its a trunk), and ensure DHCP traffic can pass through that VLAN.
Kaleb Mohr, CCNA. | Network Engineer
https://www.linkedin.com/in/kaleb-mohr
I am not an employee of Cisco or Cisco Meraki.