Come to Shanghai from other places? Get a letter of introduction, rent a house, get a temporary residence permit, then do a physical examination, apply for a health certificate, and then get all the above originals and the original real estate license/lease agreement. The word of the device is not clear.
If you want to work in this city, you need unemployment registration certificate or labor manual. Everything else is the same.