Turn your Instant Pot onto Saute mode. Once hot, add ¼ cup butter and let it melt. Once melted, add 1 cup of diced onion and cook until it’s translucent.
When the cooking time is up, use a Quick pressure release to release all pressure. When all of the pressure is released and the pin drops, you can carefully open the lid.