Starting a battle can be achieved by using the component BattleTrigger. This component is used by Battle Trigger Areas, Wandering Enemies and others.

This component can be pre-set with a default BattleSetup asset.
To learn more about battle setups go to Battle Setups
To trigger the battle simply call BattleTrigger.Trigger() from anywhere (e.g. an interaction, a dialog,…)