Ants can be attracted to any beehive as it provides a food source, and although they are a pest, they usually won’t cause a problem for your bees.
To deter them from being attracted to your hive, make sure you clean up any spilt honey with warm water after harvesting.
Remove the honey trough cap and, if necessary, clean the leak-back gap with a thin tool such as a kitchen skewer or wire to allow the honey to drain back into the hive.
Cinnamon powder can be applied behind the window covers to deter the ants.
If your hive is on a stand, you can place the legs in water to prevent ants climbing onto the hive.