Why building a plugin when you can do everything in SF API with API connector?
More than that you are showing the auth using password auth when there’s an option to use client_credentials that is way better mostly because SF administrator could request you to change password often.
The basic auth is done through an integration user, which is a free Salesforce license for this exact scenario. You can specify password policies per profile.
I had built the plugin in part because I needed to:
Check existing records based on email address
Convert the lead to a contact
Select the external id based on previous values
I am a Salesforce developer by trade, but I’m sure many of the functionality showcased in this video can be done with the API connector. After the research I did, it seemed like the path I took seemed like the best solution for the requirements.