Grafana plugin : External parameter configuration in plugin

I am trying to write a new plugin for grafana
Inside the grafana, I am calling an API which has the key I want to configure it externally, I want to mention key in deployment as external parameters like in config.ini or any place,
how to configure it?