Cocoa powder is recommended for people who have finished the “elimination” phase of the AIP diet.
Carob is a nice alternative when cocoa powder is not allowed.
You can ask your dietitian for a personalized recommendation.