You can only put a betta fish in with other fish in a community tank under certain conditions:
-the other species aren't types that will nibble at the betta's long fins (like gouramis, molliesetc...)
-the other fish don't happen to look like bettas, since they might start fighting.
-the other fish aren't too small or too slow to get away from the betta, or they might be eaten
-there's enough room in the tank--bettas have a rep for handling small tanks, but that's just b/c that's how they're displayed in stores. Realistically, they neeed up to 1.5-2 gallons for an individual, and then the temp has to be around 75-85F, so the 10 gal. tank will need a heater.
Finally, it depends on the betta. If it's naturally mean or antsy then it won't work out.
Overall, it's worth a try, but if not you might lose some fish.