Create a user on a plugin

Hi everyone !

I’m still learning how to use the plugin creator but I’m facing a problem. How can I create a user (and after log the user) only with the plugin part ?
I don’t want to use the mail/password connection and I don’t have any API for this, only ajax calls.

Is anyone already did something like this before ?

Regards