Agent DVR Setup on HAOS

Excuse this daft question.

I have HAOS runnning on an 8Gb Rasp Pi5 with 500gb SSD.

Does the Agent DVR integration
1)
install its web server within HAOS, and you configure and use it from with HA, is access to it via port 8090 over SSL available ??
2)
or does the integration just provide a ‘viewer’, that connects to an external server running Agent DVR on another system or machine