Prep all the ingredients.
Add the rice and chicken stock to the rice cooker, stir, cover, and flip the switch to start cooking.
After a couple of minutes, add the onion and garlic, stir, cover, and cook for another 3 minutes.
Add the black beans and the saffron threads. I like to break up the saffron with my fingers before adding it.
Stir, cover, and continue cooking until the rice cooker turns off and all the chicken stock is absorbed into the rice.