Alot of threads are there with complete solution but u didn’t search and read documentation of Dynamic components extension
Please seee here