How to use the Yii3 login system

Hi, does anyone have an example of how to implement a login system in Yii3?

I tried using the documentation, but I got lost.