Prepare the ingredients by chopping the onion and mincing the garlic.
Sauté the onion and garlic in the Instant Pot using olive oil on the 'Sauté' setting.
Season the pork tenderloin with smoked paprika, thyme, salt, and pepper.
Brown the pork tenderloin on all sides in the Instant Pot.
Add the cubed sweet potatoes to the pot along with the chicken broth.
Close the lid and set the Instant Pot to 'Manual' for 15 minutes.
Allow the Instant Pot to naturally release pressure for 10 minutes before manually releasing any remaining pressure.
Remove the pork and let it rest for a few minutes before slicing.
Serve the sliced pork tenderloin over the sweet potatoes, drizzled with some cooking liquid.