Tap “Open in Minecraft” and the server is added for you. Or enter the address and port yourself: Play → Friends → server icon.
Nothing happens? Minecraft is probably not installed on this device.