Even though you can only find two Legendary Pokemon in either Pokemon Sword (Eternatus and Zacian) or Pokemon Shield (Eternatus and Zamazenta), there are a number of other Legendary Pokemon coded into each of the games. These Legendary Pokemon can be obtained by transferring them to Pokemon Sword & Shield from previous Mainstream Pokemon Games via Pokemon HOME. However, one these coded Legendary Pokemon can actually be obtained in a special way immediately after Beginning The Game.
In Pokemon Sword & Shield, you can easily obtain the Mythical Legend known as Mew. In order to obtain Mew, all one must do is purchase a brand new Poke Ball Plus. By spending the extra Money on this accessory, players will automatically obtain a free Mew through the Mystery Gift Feature simply by connecting the Poke Ball Plus to the game!
We have questions and answers related to this topic which may also help you: