Hosting agreement, researcher visa, university registration, DFG funding.
Follow these steps in order. Each step links to the relevant guide or official authority.