How to dynamically create a user and send the data to my backend

Hello i just want to ask how can i dynamically create a user and send the data to my database and also post it to the sendbirdserver. BTW I’m using nodejs express and mysql for my server,

Thanks!