The process of staining for AP involves using specific substrates that react with the enzyme to produce a color change. This is often done using a technique called histochemistry. The tissue sample is incubated with a substrate that AP can convert into a colored product, allowing for the visualization of enzyme activity under a microscope.