Dice onion
Using the saute function on the Instant Pot, brown the onions in 1 T olive oil.
Add lentils, tomatoes, and 2 cups water.
Cook on manual at high pressure for 20 minutes.
Release pressure with quick release or natural release. Add salt to taste.