Error Director

Good morning, the first thing is that it is the first time that I am configuring icinga.

I have mounted icinga correctly, but when I try to mount director, it shows me the following error:

vim /etc/icinga2/zones.conf


Thanks in advance

did you set up the api user “director” ?

If in the end that was the problem. Thank you