There’s an article covering exactly that topic .
It adds a button to the plugin configuration which sends an ajax request to test the api credentials. Check it out: Testing communication with external apis
1 „Gefällt mir“