---
parser: v2
auto_validation: true
time: 15
author_name: Thomas Jung
author_profile: https://github.com/jung-thomas
tags: [tutorial>beginner, products>sap-hana, software-product>sap-hana-service-for-sap-btp, tutorial>license]
primary_tag: products>sap-hana
slug: haas-dm-deploying-haas
canonical_url: https://developers.sap.com/tutorials/haas-dm-deploying-haas
---

# Deploy SAP HANA service for SAP BTP

<!-- description --> Create an instance of the SAP HANA service for SAP BTP.

## Prerequisites

- This tutorial is designed for SAP HANA service for SAP Business Technology Platform. Consider newer tutorials designed for SAP HANA Cloud.
- You have a productive account with entitlement to the SAP HANA service for SAP BTP in SAP BTP, Cloud Foundry environment
- You have [downloaded and configured the Command Line Interface](cp-cf-download-cli)

## You will learn

- How to use the SAP BTP cockpit as a graphical tool to provision your instance
- How to use the Command Line Interface (CLI) for Cloud Foundry to check the creation progress of your instance

## Intro

>**This tutorial cannot be completed with a trial account.**
---

### Access the Cloud Foundry account

Open Google Chrome and navigate to the [SAP BTP cockpit](https://account.hana.ondemand.com/). Click **Log On**.

![New project from template](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/haas-dm-deploying-haas/1X.png)

Log in with your username and password.

![New project from template](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/haas-dm-deploying-haas/2.png)

Close the *News and announcements* popup if it appears.

Click on **Cloud Foundry**.

![New project from template](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/haas-dm-deploying-haas/3X.png)

Click on the subaccount.

![New project from template](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/haas-dm-deploying-haas/4X.png)


### Create a new instance of SAP HANA Service


Click on **Spaces**.

![New project from template](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/haas-dm-deploying-haas/5X.png)

Click on the **dev** space.

![New project from template](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/haas-dm-deploying-haas/6X.png)

Navigate to **Services** -> **Service Marketplace**. Click on **SAP HANA Service**.

![New project from template](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/haas-dm-deploying-haas/7.png)

Navigate to **Instances**. Click on **New Instance**.

![New project from template](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/haas-dm-deploying-haas/8.png)

Choose **enterprise** as your plan and then click **Next**.

![New project from template](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/haas-dm-deploying-haas/9.png)

Set `HanaRocks1` as a password. Click **Next**.

>**Note**: This is just a sample password. We recommend choosing a password you will remember as you will not be able to reset it if you forget.

![New project from template](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/haas-dm-deploying-haas/10.png)

When prompted to bind an application, leave **(None)** and click **Next**.

>**Note**: No binding would happen for the database.

![New project from template](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/haas-dm-deploying-haas/11.png)

Use `HDB` for the **Instance Name**. Click **Finish**.

>**Note**: This is just a sample name for the database.

![New project from template](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/haas-dm-deploying-haas/12.png)

When prompted, click **OK**.

![New project from template](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/haas-dm-deploying-haas/13.png)

The creation of the instance will be in progress.

![New project from template](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/haas-dm-deploying-haas/14.png)

> The service could also be created using the Command Line Interface for Cloud Foundry. Here is a sample command in a Windows console:
> ```ssh
> cf create-service hana-db enterprise HDB -c {	"productProperties": {		"hcu": "2",		"SourceIP": "",		"scriptserver": true,		"dpserver": true,		"docstore": true, "SystemPassword": "HanaRocks1"	}}
> ```
> Check the [SAP Help](https://help.sap.com/viewer/d4790b2de2f4429db6f3dff54e4d7b3a/Cloud/en-US/b7775aafc2de4534a00a38a7d8cd1f6b.html) for more information about creating service instances using the command line interface.




### Check for service deployment progress in the CLI



Use the following commands to list the available services and check the status of your own database being provisioned:

> ```ssh
> cf services
> cf services HDB
> ```

![New project from template](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/haas-dm-deploying-haas/15.png)



---
