...
Click Repositories in the main HQ window
Click Add New
Choose Database as the type of repository to add and click Next
Select one of the database types in the drop-down menu:
Java Database Connectivity (JDBC)
Oracle SpatialPostGIS
Spatial DatabaseSolr
Search Index
Enter the Connection Information required by that database type
Click Next to continue the Add Repository process