Add the chili and garlic, stirring for about 10 seconds until fragrant, then add the onion and sauté for 1 minute.
Next add the chicken and cook until it starts to turn white. Stir in 1 tablespoon of kecap manis and continue cooking for another minute, or until the chicken is nearly cooked through and lightly caramelized.
Add the cooked white rice, 2 tablespoons of kecap manis, and shrimp paste (if using). Stir continuously for about 2 minutes, until the sauce thickens and the rice begins to caramelize—this step is essential for flavor!
Garnish with green onions, red chili, fried shallots, and fried eggs. Serve with lime wedges, tomato, and cucumber, then enjoy!