Fallout 4. How to build and activate the beacon ?

How to build and activate the beacon ?