---
parser: v2
author_name: Thomas Jung
author_profile: https://github.com/jung-thomas
primary_tag: products>sap-hana
tags: [  tutorial>beginner, products>sap-hana, products>sap-hana\,-express-edition, products>sap-web-ide ]
time: 15
slug: xsa-setup-new-space
canonical_url: https://developers.sap.com/tutorials/xsa-setup-new-space
---

# SAP HANA - Create a Space in XS Advanced
<!-- description --> Create a new space for XS Advanced

## Prerequisites
 - This tutorial is designed for SAP HANA on premise and SAP HANA, express edition. It is not designed for SAP HANA Cloud.

## You will learn  
Describe what the user will learn from your tutorial and what the outcome will be.


---

### Log in to the XS Advanced Administration site


If you are using SAP HANA, express edition, go to `https://hxehost:39030` to access the `xsa-cockpit` app.

![Cockpit log in](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-setup-new-space/39030_cockpit.png)

>If you are not using SAP HANA, express edition, or you have changed the ports, you can find out the right URL using command `xs apps` on the Command Line Interface and look for the URL for application `xsa-cockpit`. You can access the CLI directly from an SSH console on the server or download using the Download Manager. You can get the Download Manager after registering at the [Download site](https://developers.sap.com/topics/hana.html)

&nbsp;

Log in using `xsa_admin` (or, if unavailable, a user with authorizations to create Spaces)

![Log in with XSA_ADMIN](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-setup-new-space/1.png)


### Create a Space


Click on **Organizations** and on the organization to which you want to add a space

![Organization and space management](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-setup-new-space/2.png)

Then on **New Space**

![Create a space](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-setup-new-space/3.png)

Provide a name for the space and the roles you want to give to `XSA_ADMIN`

![Name space](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-setup-new-space/4.png)


### Add users to the Space


Click the space

![Add users](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-setup-new-space/5_1.png)

Click **Members** and then on **Add Member**

![Add users](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-setup-new-space/5.png)

Select the users you want to add to the space and their roles:

![Add users](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-setup-new-space/6.png)

Go back using the **Home** button

![Add users](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-setup-new-space/8.png)


### Setup the Space using the space enablement tool


Go back using the **home** button and go into the **SAP** space

![App monitor](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-setup-new-space/9.png)

Look for the app `di-space-enablement-ui` and enable it if it is not running yet:

![App monitor](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-setup-new-space/10.png)

Once it is running, click on the link to see the URL (by default, `https://hxehost:39030` )

![Space enablement](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-setup-new-space/11.png)


### Run the Space enablement tool


In the Space Enablement tool, click on **Enable**:

![Space enablement](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-setup-new-space/12.png)

Wait until processing finishes and you get a successful message:

![Space enablement finished](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-setup-new-space/13.png)

The space is now ready to use.

