automatically creating vertex groups

im following some tutorials, but cant seem to figure out how to automatically create the vertex groups, based on the positions of the closest bones

well, when you parent the object to the armature, a menu will appear with a “Create Vertex Groups/Create from Bone Heat” option.