You have to apply for AFNS online through the Join Pakistan Army portal which is explained in the article.