Database connections

We created 2 database connections, how can I select the which database connections through Universal signup form? of course both database connections assign to the app.

By default, Lock will authenticate against the first enabled database connection. To choose between multiple database connections, you can implement a connectionResolver option, as outlined in the documentation: