Go to the desired project channel and add a task from the Task panel on the right. After adding a task you can assign people to it.
You can also add a task from a chat message. Click on the icon on the far right part of the message and choose Create task. The message body will be included as a new task to the channel.