In the Menu bar at the top of the screen, click Firefox and then select Preferences or Settings, depending on your macOS version.Click the menu button and select Settings.
. In the OptionsPreferences window, click on the Sync tab.
In the Firefox Sync Account section, click on Add a Device and the Add a Device window will open.
Enter the code in the Add a Device window as it's displayed on your second device. Then click Next