You can use Uber or Lyft to get there. I also believe there are companies that will take you there via bus.
If you arrive to Port Cañaveral you can drive or take an Uber to Cocoa Beach which is close by and there you can fin Hotels
Some hotels have a shuttle.
Thanks! Your answer is awaiting moderation.