From Florence, we took the train to Salerno.
At Salerno, we then took a ferry to the town of Amalfi. The ferries follow the coastline so the scenery is pretty nice. These ferries travel all along the Amalfi Coast and are convenient as they run often and are usually right on time (in comparison to local buses as sometimes they are full by the time they get to your stop). If your travels permit we recommend traveling the coast by ferry.