After downloading PokeMMO, follow the prompt to enable "Unknown Sources" in your Settings menu. You can also access the Unknown Sources directly:
You may need to scroll down to see the Unknown Sources setting.