start process of elimination
does the noise come from a particular side?
only when applying power?
try standing on bike and bounce/apply pressure on crank until noise happens, rotate cranks 180 and repeat to see if you can attribute it to something moving back and forth/around spindle.
repeat with no chain attached to see if it is linked to chain load or just the cranks on spindle.
removes chainring/spider and inspect for contact marks or signs of movement or loose fit.
check all interfaces, just cos frame is new doesn’t mean anything, could still be one of the BB support cups creaking or a washer moving etc.
was the frame faced? any lumpy paint that might mean a cup isn’t seating properly?
Until you actually know what bit is causing the noise then it’s hard to advise on a suitable remedy.