You get your permanent license from the MDCN portal. This is after you must have completed your 12 months of house job and have obtained a clearance certificate from the center you did your housemanship.