How can I use my Nokia device as a WiFi hotspot?

For Android Oreo, naviagate to Settings  >  Network & Internet  >  Hotspot & tethering. For Android Nougat, the path is slightly different: Settings  >  More  >  Tethering & portable hotspot. Please not that mobile data must be switched on.