In additional to Rental Teams that can be used at the Battle Tower, players can also use Rental Teams in Online Battles. Online Rental Teams were first introduced in the 7th Generation, giving players a new way to share Pokemon Teams they have personally created. But in Pokemon Sword & Shield, players can now use these Rental Teams in both Ranked Battles and Online Competitions.
In order to download an Online Rental Team, all one do is simply go to the Battle Stadium and go to Rental Teams. From there, you must enter a code for a Rental Team and then the Rental Team will become available within one of the five available slots to save a Rental Team. Alternatively, players can also share their own teams to others by getting a code for their team that they can then share to others. By doing so, this will make your team publicly online so anyone can then use it as their own Rental Team.
We have questions and answers related to this topic which may also help you: