From within the Settings app, tap Network & internet
Tap Hotspot & tethering.
Tap Wi-Fi hotspot.
Tap or slide the Use Wi-Fi hotspot switch to On.
The Configure screen lets you choose the type of security you want. You can also find your device password here.
Tap Security.
Select your security preference.
Swipe from the left or right edge of the screen to return to the previous screen.
Tap Hotspot password.
Enter your new password.
Tap OK.
You've completed the steps!
