Follow the setup guide once to create a free Firebase database, then paste the two values below on both phones and use the same sync code.
Even with sync on, an occasional backup file is smart.