Set the Instant Pot to the sauté setting. Add the olive oil and the onion and cook until translucent. Add the chicken breast, stock, spices, and tomato sauce.
When done, perform a quick pressure release (QPR) to manually release steam. Then open the lid and, with the help of 2 forks, shred the chicken breast.