How can I select a user role at the time of the account registration?
Good day,

Have you tried the Select registration roles module? I think this would be a straightforward configuration for the role field that you want.

Hope everything is in order.

Thanks!