Soto Ayam is a yellowish spicy chicken soup, usually clear, served with nasi himpit (compressed rice cubes) or rice noodles with a variety of toppings.
Grind spice paste ingredients in a blender adding a little water if necessary.
Bring 6 cups (1.4 liters) of water to boil. Add chicken breast, lemongrass, ginger, and cinnamon stick. Reduce heat allow to simmer for 45 minutes. Remove chicken breast and shred the meat. Set aside.
In the meantime, cook (boil) eggs, pan fry tofu, blanch bean sprouts , and boil rice noodles. Set aside.
In a fry pan, heat oil. Fry shallots or onions until brown and crispy. Remove with a slotted spoon and set aside.
Fry spice paste with oil remaining in the pan until fragrant, about 5 to 6 minutes.
Transfer fried spice paste to boiling soup.
Give it a good stir to get spices well mixed into the soup. Allow soup to simmer for another 15 minutes. Turn off heat.
Divide rice noodles or rice cubes into 4 bowls. Pour soup over noodles or rice cubes. Garnish with toppings and fried shallots or onions. Serve immediately.