Rinse beans and drain. Sort any unwanted debris and set seasoning packet aside.
Turn the Instant Pot on to saute. Add olive oil and onion and saute until tender, about 3-4 minutes.
Add remaining ingredients including the seasoning packet except for tomatoes.
Place the lid on, and cook on high pressure for 60 minutes. Quick release pressure.
Open the lid and remove ham bone or ham hock. Add tomatoes with juice turn onto saute and allow to simmer while picking the ham off of the bone.
Return the meat to the Instant Pot and stir and serve.
