Sanctuary

Sanctuary is a side quest and achievement/trophy in Fallout 4.

Detailed walkthrough
After the Quest When Freedom Calls, you may get this quest from Sturges. If you have already scrapped the area of Sanctuary Hills, you should have enough material to complete the first step: building five beds. Just enter one of the houses, clear rooms of debris and build beds using the Workshop-interface.

Upon completion talk again to Sturges. He will ask you to build a water supply. You may build a Water purifier along with a suitable power generator or two Water pumps. After building one of these options, you may talk again to Sturges who asks you to ensure food supply. Behind the house where the Workbench is located you may find two Melon-plants. Harvesting these will give you a start, as you can use them to plant another two plants. Assigning villagers to harvest these plants will progress this objective even further. You may also buy Carrots or other plants from a nearby vendor. Or head to Tenpines Bluff where you can find many Tato plants ready to be harvested. You will either see the Workbench interface or quest tracker if your objective is near completion. Finally, upon talking with Sturges, he asks you to build up some defenses. If you have some Circuitry e.g. by telephones or Military-grade circuit boards, you may build Machine gun-Turrets which easily fulfills this task. You may also build watch posts. Please take note that watch posts have to be manned in order to count as defenses (assign a villager to a watch post in order to "activate" the post).

After you have gathered enough defense and talked to Sturges, this mission is complete.

Bugs

 * There is a bug where you won't be able to talk to Sturges upon completed an objective, but trade with him instead. To fix it you need to simply just re-make the farm, as this is where the bug occurs the most.
 * If you remove the required number of beds, food, water, and defenses right after finishing the quest it will cause the quest stages to drop the percentage even though the quest is in the completed section of your pipboy. To stop this from happening. Just fast travel to another location and then back.

Sanctuary Сэнкчуари (квест)