You can refer to Dolby's official guidelines, using the one that's closest to your configuration. Of course, your room characteristics and/or other considerations may move you to deviate from the recommendations.
https://www.dolby.com/about/support/guide/speaker-setup-guides/https://www.dolby.com/siteassets/te...atmos-installation-guidelines-121318_r3.1.pdf
This reddit thread may also be of interest:
I have been a Atmos listener since 2020 and as it is evolving like so many things in the audio world, I have come to conclusion and will likely change my set up in 2024.
In your Reddit , it makes mention that in ceiling speakers may be wrong.
I have in ceiling (4) speakers, they primarily fire straight down with the tweeter that is adjustable to my listening position.
I wouldn't go as far as to say it is wrong, I would sat that box speakers as in Post #2 would be more desirable.
Reason is, you get the full use of the speaker firing at you, not the midrange down and the tweeter angled.
Also a highly desirable acoustic treatment is to put a panel above your listening area, some call this acoustic treatment a cloud panel.
If you have flush mount speakers, the presumably 2"-3" depth of your ceiling panel will block some of the directional sound from your speakers.
I am not going to say I did it wrong, just that I found a more desirable way.
I have been a contractor for 50+ years and no installation of anything worries me, but I do know that for some, the lack of skills, makes the ceiling speakers not easy.
The good news is that from a mounting point of view, assuming you have good ceiling joists and/or good anchors a box speaker is actually easier to install than flush mount speakers.
I look forward to changing mine sometime this year.