I don’t have a detailed tutorial to create tasks, but this one creates a call and you can learn from it:
You basically need to ensure
- you fill all the required fields
- you set all the necessary relationships so it appears in subpanels of related records