It's best to get everything prepared before you cook. Peel and finely slice the shallots and mince or finely grate the garlic. Mix together the garlic, shrimp paste and sambal olek so they are well combined. Dice the chicken into small pieces, both if fresh or already cooked, if using. Break the chilled rice up with you hands so the grains are less stuck together.
Warm the oil in a wok or wide skillet/frying pan over a medium-high heat. If the chicken is uncooked, fry it briefly, turning so that it is cooked through then remove and set aside.
Fry the eggs in the oil, keeping them separate, ideally so that the bottom becomes gently crisp but the yolk is still runny. Remove the eggs from the pan and set aside.
Add the garlic-chili paste and cook briefly, stirring constantly, then add the shallots. Cook a couple minutes to soften the shallots then add the rice.
Cook, stirring regularly, for a couple minutes so that the rice becomes well coated with the garlic and chili. Add in the kecap manis and mix through.
Add in the cooked chicken, mix through then remove from heat and serve. Divide into two portions and serve each topped with a fried egg, with around 3 slices of tomato and cucumber and a handful of shrimp crackers on the side.