How can I connect to Nextcloud webdav sever?

I opened a remote file in LibreOffice, but it needed password and main password.I don’t know what is main password?