Creating and reading from settigs

Hello!

Let’s say i’m developing a plugin that need to store some settings and read from it. Like API credentials or something like that. How do i create settings tab and save something to it?

Thank you