Is there a way upon extension installation to perform these steps from the extension?
- Enable API for some user or create API user
- Send the credentials to some external service
I need to create an automatic API connector with Shopware 5, but don't know how to do these steps automatically using plugins.
As you have full access to the database during the installation of a plugin, it should be no problem to create a new user or/and enable API access for it.
Also making requests should be no problem. But here you need to be aware of some things: