Salam ,
Friends of mine who convert in islam asked to an imam about that. The imam said that normally, you need 2 witnesses, but if you don't have them, it doesn't matter because Allah is the best witness. You can even say the shahada alone in your room, you are muslim. Witnesses are just...