Java
you go to the servers list and hit the add server button
then you put in the servername of your choice and the ip
Bedrock
you go to the servers list and go to the bottom and hit the add server button
then you put the servers name you want and add the address and leave the default port