The non-framework cation positions for Li+ in dehydrated zeolite Li-A(BW) and for Na+ in zeolite 4A are simulated by a straightforward combination of Monte Carlo and structure optimization techniques, using only a framework structure model and appropriate interatomic potentials.