There are many options to go to Hue from Hoi An by bus, flight or train.
Bus is most economical and comfortable option as I do not wanted to go to Danag to catch train or flight.
Our hotel lady arranged bus ticket($6) for us. We started at 8:00 AM from our hotel after the breakfast. For first half an hour we were touring inside Hoi an city as driver was collecting passengers from the different hotels. Whole journey was very scenery and lasted for almost 4 hour.
In the midway our bus stopped for refreshment at a resort. It was beautiful resort with very few people.