Hexagon with cylindrical edges

For a project I’m doing I want to create a 3D hexagon whose edges are cylinder tubes. I’ve tried creating 6 separate cylinders and combining them but I’d like to find a simpler way to do it that would result in one object instead of 6 separate ones. Any suggestions?

you can use the bevel modifier, here is a nice tutorial from BornCG how it works:

What object should I use the bevel tool on?