Open a scan to begin, or try the example.

Then add the candidate phases, fit the pattern centre, and index.

Add a master pattern under Data, or simulate one, to see it here.

pattern
simulated
crystal

Open a CIF or pick a preset.

Its cell shows here, with how the electrons are spread over energy and depth; the master it simulates shows beside it.