It can be hardened off for a couple of weeks and then planted outside after the last frosts. Many florists hydrangeas are dwarf, of a variety called 'Pia' and willl not grow past two feet tall, but you won't know until you try. That can be quite handy in a trough or pot. They don't like full sun or too much morning sun and they are supposed to like plenty of water without being waterlogged. Having said that, I have lots in pots and they aren't watered as much as they should be, yet they do fine.
There are many different hydrangeas but most macrophylla do well in zone 8.