301 redirect is the best option, Along with specifying in search console that the site is merging/moving, you'd need to have both domains verfied in search console to do so.
But yeah 301's are what you need to do to give yourself the best chances of existing ranks moving across, bear in mind though that there is no certainty that it will carry across, branding or moving domains shouldnt be taken lightly.