Use the "Egg" setting.
Plug in the Instant Pot, lock the lid, and position the steam release valve to "sealed." Press the "Egg" button on the Instant Pot. It will pressure cook the pot for 5 minutes on normal. This will result in hard-boiled eggs. If you want soft-boiled eggs, use the "-" button to reduce the cook-time to 4 minutes.
Be aware, it takes the Instant Pot about 5 minutes to heat up and 5 minutes to cool down. Once the cook time is over quickly flip the steam release valve to "venting" and allow the steam to escape. Once the pressure is at normal, carefully remove the lid.