On cockroachlabs.cloud, select the database, then click on "Connect" (top right of page). On the Connect popup select "Java".
Copy the JDBC URL, replace the password and in the DbSchema connection dialog select 'Edit Manually' in the Connection Method, and paste the URL into the URL field.