The First Step

The First Step is a Minutemen main quest and achievement/trophy in Fallout 4.

Detailed walkthrough
This quest begins right after When Freedom Calls, by escorting the settler group alongside Preston Garvey. Arriving in Sanctuary, and interacting with Preston has him exchange thanks, and then ask the Sole Survivor to help him rebuild the Minutemen. Agreeing to this begins the quest.

In order to bring the Minutemen back, they will need more men. Preston brings word of a settlement under attack by raiders and asks you to take care of it. The settlement location is randomized, but generally does not go far from Concord. Speaking to the settlers there begins the next stage of the quest.

Here, the player has to clear out a location of the raiders that dwell there. Also randomized, the quest will not update until the raiders inside the location are killed; any raider enemies encountered outside the location don't count towards the quest, and can be ignored.

Return to the settlement. and receive the reward and allegiance from the settlers, then return to Preston. He will congratulate you, and then give you a flare gun, along with some flares, that will come in handy once the Minutemen have more allied settlements. He tells you a story, then formally acknowledges you as the new General, leader of the Minutemen. The quest finishes here.