login to XSA - Cockpit.
Login to required space.
under services --> User - provided services
Click on New Space.
---------------------------------------------------------------------------------------
{
"driver": "com.sap.db.jdbc.Driver",
"tags":[
"hana"
],
"user": "SYSTEM"
"password":<Password>
}
-----------------------------------------------------------------------------------------