You will not succeed in an automatic indexation, for a moderately difficult case, without a very careful work. Do not expect any result from the routine powder pattern as described at chapter 1.2 unless it is a trivial case. Data accuracy should be the highest you can do. The maximum discrepancy between the observed and calculated angular position of the reflections should be less than ± 0.02° 2-theta. You can do even better. It is time to learn how to realize a "long time, high quality pattern".