# Assign a role to a learner

Once the role has been created, you must assign it to a learner:

* click on the *Assign roles* link ![](/files/-LH9CxwEBD4K-YyrVnf1),
* select a learner to assign the role to,
* select the task to be assigned,
* select a date to achieve the objective of the role,
* click the *Validate* button.

![](/files/-LH9CxwKqOB-dU3tHiSt)

*Illustration: Projects – Assign a role*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chamilo.org/1.11.x/teacher-guide/projects/assign_a_role_to_a_learner.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
