Get the entity value through SPI Providers

Hello all, I need help on this.
I have created one custom tab in keycloak realm settings. I can fetch the key values through custom entity from database, but I want to fetch the data using any of these providers there in keycloak. what is the flow of this.