What's the best way to access CouchDB

We are planning to develop our own reports hence, want’s to access the DB for the same.
How should we proceed on this?

With an account allowing you to create reports, you will be able to access the report section on the navigation bar. In this section, when you finish setting up your report, the system will use the database to produce your report. You will find all the details on how to create reports in the attached link.
https://support.primero.org/books/primeroIMS/PrimeroCPIMSUserGuide/master/UsersGuide.html#creating-a-report

Thank you for the response.

The reports needed by us are not possible to generate using UI. Hence, we are planning to develop it from scratch for which we wanted to access DB directly to check how the data is stored etc.