Bedding in of disc brakes takes some skill and methodology.
The process transfers friction material from the pad to the disc and also completes the curing process on the pad material itself.
Bedding in is done by braking and coming to a stop from a slow speed. Braking should NOT be hard but gentle, for approximately 10 stops. The brake performance will increase noticeably and then stabilize, which indicates the end of the braking in period. If you brake hard at first, too much material will be deposited and not evenly, and the brakes will always underperform, vibrate or squeal.
Always bed in one brake at a time and do not attempt to do it whilst doing a functional ride. You will not have enough control over the process.
Resin and metal pads don't bed in the same. The latter takes longer.