Go to: Communities >> Set Up >> Social Login
Turn 'On' the option for Facebook integration, LinkedIn Integration or Google Integration and click on the Save Settings button. On the community portal users will be able to sign up / login using their Facebook, Google or LinkedIn account.