It is important to cook the chicken before adding it to the salad because raw chicken can contain harmful bacteria that can cause food poisoning. By cooking the chicken, you will kill any bacteria that may be present.