How to programmatically add and configure provider to the users-permissions plugin?

From the bootstrap function