heidelberg.de – Registration & Residence Permit https://www.heidelberg.de/english,Len/Home/Life/Registration.html
On changing residence you must be registered within one week at one of the local Administration Offices.
the resulting costs yourself, you can hand in a formal commitment declaration (in German