2018 to 2021 Subaru smart keys success with Autel MaxiIM IM508. Just reset smart box. Wait 15 minutes and success. You can use used keys also!! Best to remove this relay so the stinking horn honking doesn’t drive you crazy!!
Credits to @ Steve Sze
Good source of Autel MaxiIM IM508 with XP400 PRO: