Accommodation registration
english.shanghai.gov.cn
Expatriates are required to register their place of residence or temporary accommodation with the local police within 24 hours of arriving at the address.
You could register via the following online platforms.
Self-help Declaration System for Overseas Personnel's Accommodation Registration
You need to sign up first before registration.
Please click here to open the website for signing up.
WeChat mini-program "Suishenban"
Search "随申办 (Suishenban)" at WeChat Mini Program, click the "Exit and Entry" section and then "境外人员住宿登记 (Accommodation registration for overseas personnel)".