---
title: How to Set Up a User in SAP HANA XSA [Tutorial]
description: Follow these steps to create a new user in the SAP HANA XSA environment using the SAP HANA XSA Administration tool.
image: https://blog.sap-press.com/hubfs/How%20to%20Set%20Up%20a%20User%20in%20SAP%20HANA%20XSA%20%5BTutorial%5D.png
---

[![rheinwerk-sappress-logo-header-1](https://blog.sap-press.com/hubfs/rheinwerk-sappress-logo-header-1.svg)](https://blog.sap-press.com/) [Blog](https://blog.sap-press.com)

- Books 
    - Get an overview of our books and courses on every relevant SAP topic. 
          - [Programming](https://sap-press.com/programming/)
          - [Administration](https://sap-press.com/administration/)
          - [BI](https://sap-press.com/business-intelligence/)
          - [Finance](https://sap-press.com/finance-controlling/)
          - [Logistics](https://sap-press.com/logistics/)
          - [HR](https://sap-press.com/human-resources/)
          - [CRM & Sales](https://sap-press.com/marketing-sales/)
          - [HANA](https://sap-press.com/hana/)
          - [Introductions](https://sap-press.com/introductions/)
          - [E-Bites](https://sap-press.com/e-bites/)
          - [Certification Guides](https://www.sap-press.com/certification-guides/)
          - [Rheinwerk Courses](https://www.sap-press.com/online-courses/)
- Book Subscription 
    - Get unlimited access to all SAP PRESS books! 
          - [SAP PRESS Subscription](https://sap-press.com/subscriptions/)

[Programming](https://blog.sap-press.com/tag/programming)

# How to Set Up a User in SAP HANA XSA \[Tutorial\]

![SAP PRESS](https://blog.sap-press.com/hubfs/Twitter_profile_pic.svg)  by [SAP PRESS](https://blog.sap-press.com/author/sap-press)

In this exercise, we’ll create a new user in the SAP HANA XSA cockpit and assign the SAP HANA XSA developer role to the new user.

 

We’ll show the steps to create a new user, but you can import existing [SAP HANA](https://learning.sap-press.com/sap-hana) users into SAP HANA XSA as well.

 

Follow these steps to create a new user in the SAP HANA XSA environment using the SAP HANA XSA Administration tool:

 

## Create a User

1. Launch the SAP HANA XSA environment with this URL: https://<host>:39030/.

 

**Note**: This URL is for the SAP HANA, express edition. Your port number might be different depending on how the SAP HANA landscape is configured.

 

2. Click XSA-COCKPIT to launch the SAP HANA XSA Administration tool.

 

![Launching XSA Cockpit](https://blog.sap-press.com/hubfs/03_002.jpg)

 

3. Enter the “XSA\_ADMIN” login credentials, then click **Log On**.

 

![Logging into XSA Cockpit](https://blog.sap-press.com/hubfs/03_003-1.jpg)

 

4. After you’re logged on, your screen should look like the one below. Now it’s time to create a new user and assign developer roles. Click **User Management**, then click **New User**.

 

![XSA User Management](https://blog.sap-press.com/hubfs/03_004-1.jpg)

 

5. In the next screen, you need to fill in the mandatory details about the user (**User Name**, **Email**, and **Password**; see below), then click **Create**.

 

![Creating New User in XSA Cockpit](https://blog.sap-press.com/hs-fs/hubfs/03_005-1.jpg?width=439&height=418&name=03_005-1.jpg)

 

## Grant User Access

You’ve successfully created a new user. Next, you need to grant access to users so that they can access the SAP HANA XSA tools and features. Follow these steps:

 

1. After creating a user in the previous steps, you should see the screen shown below. Assign roles by clicking under the **Actions** column.

 

![03_006](https://blog.sap-press.com/hs-fs/hubfs/03_006.jpg?width=904&height=256&name=03_006.jpg)

 

2. Click the **Add** button in the **Assign Role Collections** window.

 

![Assign Role in XSA Cockpit](https://blog.sap-press.com/hubfs/03_007.jpg)

 

Search for roles starting with XS, then select **XS\_CONTROLLER\_USER** and **XS\_AUTHORIZATION\_ADMIN** (see next figure). The XS\_CONTROLLER\_USER role will let users read and write within the assigned spaces or organizations, and the XS\_AUTHORIZATION\_ADMIN role will let users access the SAP HANA XSA Administration tools.

 

![XSA Cockpit Role Collections](https://blog.sap-press.com/hubfs/03_008.jpg)

 

3. Repeat the previous step, but search for and select the **DEVX\_DEVELOPER** role.

 

4. Click **OK** to assign the roles to the user.

 

5. After you’ve selected roles, your screen should look like this:

 

![Assign Role Collections in XSA Cockpit](https://blog.sap-press.com/hubfs/03_009.jpg)

 

6. Click **Save**.

 

You’ve now successfully created a new user and assigned authorizations to the new user to build applications in the SAP HANA XSA environment.

 

Editor’s note: This post has been adapted from a section of the book *[Data Modeling for SAP HANA 2.0](https://www.sap-press.com/data-modeling-for-sap-hana-20_4722?utm_source=sappressblog&utm_medium=referral&utm_campaign=Blogs&utm_term=chapter3&utm_content=1751)* by Anil Bavaraju.

## Recommendation

[![SAP HANA XSA: Native Development for SAP HANA](https://blog.sap-press.com/hs-fs/hubfs/Images/Book%20Covers/1601.png?width=170&name=1601.png)](https://www.sap-press.com/sap-hana-xsa_4500/?utm_source=sappressblog&utm_medium=referral&utm_campaign=Blogs&utm_term=1751_chapter3&utm_content=1601)

**SAP HANA XSA: Native Development for SAP HANA**

Want to create applications that run faster and perform better on SAP HANA? Learn how to design, test, and deploy native SAP HANA applications with SAP HANA XSA! Get started by exploring your development environment, tools, and the SAP HANA XSA architecture. Then define your data model with core data services and HDB, add your application layer—Node.js, Java, or custom—and develop your presentation layer. Finish up by securing, troubleshooting, and deploying your app!

[Learn More](https://www.sap-press.com/sap-hana-xsa_4500/?utm_source=sappressblog&utm_medium=referral&utm_campaign=Blogs&utm_term=1751_chapter3&utm_content=1601)

![SAP PRESS](https://blog.sap-press.com/hubfs/Twitter_profile_pic.svg)

**by [SAP PRESS](https://blog.sap-press.com/author/sap-press)**

SAP PRESS is the world's leading SAP publisher, with books on ABAP, SAP S/4HANA, SAP IBP, intelligent technologies, SAP Business Technology Platform, and more!

[Programming](https://blog.sap-press.com/tag/programming)

[![Share on facebook](https://7528309.fs1.hubspotusercontent-na1.net/hub/7528309/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/facebook-color.png?width=24&name=facebook-color.png)](https://www.facebook.com/share.php?u=https%3A%2F%2Fblog.sap-press.com%2Fhow-to-set-up-a-user-in-sap-hana-xsa-tutorial%3Futm_medium%3Dsocial%26utm_source%3Dfacebook) [![Share on linkedin](https://7528302.fs1.hubspotusercontent-na1.net/hub/7528302/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/linkedin-color.png?width=24&name=linkedin-color.png)](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fblog.sap-press.com%2Fhow-to-set-up-a-user-in-sap-hana-xsa-tutorial%3Futm_medium%3Dsocial%26utm_source%3Dlinkedin) [![Share on twitter](https://7528304.fs1.hubspotusercontent-na1.net/hub/7528304/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/twitter-color.png?width=24&name=twitter-color.png)](https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fblog.sap-press.com%2Fhow-to-set-up-a-user-in-sap-hana-xsa-tutorial%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&url=https%3A%2F%2Fblog.sap-press.com%2Fhow-to-set-up-a-user-in-sap-hana-xsa-tutorial%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&source=tweetbutton&text=) [![Share on email](https://7528311.fs1.hubspotusercontent-na1.net/hub/7528311/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/email-color.png?width=24&name=email-color.png)](mailto:?subject=Check+out+https%3A%2F%2Fblog.sap-press.com%2Fhow-to-set-up-a-user-in-sap-hana-xsa-tutorial%3Futm_medium%3Dsocial%26utm_source%3Demail&body=Check+out+https%3A%2F%2Fblog.sap-press.com%2Fhow-to-set-up-a-user-in-sap-hana-xsa-tutorial%3Futm_medium%3Dsocial%26utm_source%3Demail)

### Comments

### Latest Blog Posts

[![Managing SAP HANA Models in SAP Web IDE](https://blog.sap-press.com/hs-fs/hubfs/Managing%20SAP%20HANA%20Models%20in%20SAP%20Web%20IDE.png?height=600&name=Managing%20SAP%20HANA%20Models%20in%20SAP%20Web%20IDE.png)](https://blog.sap-press.com/managing-sap-hana-models-in-sap-web-ide)

[Programming](https://blog.sap-press.com/tag/programming)

## [Managing SAP HANA Models in SAP Web IDE](https://blog.sap-press.com/managing-sap-hana-models-in-sap-web-ide)

[Read More](https://blog.sap-press.com/managing-sap-hana-models-in-sap-web-ide)

[![3 Things to Know When Coding ABAP on SAP HANA](https://blog.sap-press.com/hs-fs/hubfs/3%20Things%20to%20Know%20When%20Coding%20ABAP%20on%20SAP%20HANA.png?height=600&name=3%20Things%20to%20Know%20When%20Coding%20ABAP%20on%20SAP%20HANA.png)](https://blog.sap-press.com/3-things-to-know-when-coding-abap-on-sap-hana)

[Programming](https://blog.sap-press.com/tag/programming)

## [3 Things to Know When Coding ABAP on SAP HANA](https://blog.sap-press.com/3-things-to-know-when-coding-abap-on-sap-hana)

[Read More](https://blog.sap-press.com/3-things-to-know-when-coding-abap-on-sap-hana)

**Subscribe to our blog!**Get notified about future blog updates.

- <https://www.facebook.com/sappress>
- <https://twitter.com/sappress>
- <https://linkedin.com/company/sap-press>
- <https://www.instagram.com/sap_press/>
- <https://blog.sap-press.com/rss.xml>

### The official SAP PRESS Blog

As the world’s leading SAP publisher, SAP PRESS’ goal is to create resources that will help you accelerate your SAP journey. The SAP PRESS Blog is designed to provide helpful, actionable information on a variety of SAP topics, from SAP ERP to SAP S/4HANA. Explore ABAP, FICO, SAP HANA, and more!

### SAP Blog Topics

- [All Topics](https://blog.sap-press.com)
- [Logistics](https://blog.sap-press.com/tag/logistics)
- [Programming](https://blog.sap-press.com/tag/programming)
- [FICO](https://blog.sap-press.com/tag/fico)
- [Administration](https://blog.sap-press.com/tag/administration)
- [Business Intelligence](https://blog.sap-press.com/tag/business-intelligence)
- [What Is?](https://blog.sap-press.com/tag/what-is)
- [Featured](https://blog.sap-press.com/tag/featured)
- [CRM & Sales](https://blog.sap-press.com/tag/crm-sales)
- [Video](https://blog.sap-press.com/tag/video)
- [Human Resources](https://blog.sap-press.com/tag/human-resources)

### Blog curated by

[![Rheinwerk Publishing & SAP PRESS Logo](https://blog.sap-press.com/hubfs/rheinwerk-sappress-logo-header-1.svg)](https://sap-press.com) [Visit the SAP PRESS Store](https://sap-press.com)

### About

- [Home](https://sap-press.com/)
- [About Us](https://sap-press.com/the-publisher/)
- [Contact](mailto:info@rheinwerk-publishing.com)
- [Legal Notes](https://sap-press.com/legal-notes/)
- [Privacy Policy](https://sap-press.com/privacy/)
- [Terms of Use](https://sap-press.com/terms/)
- [Guest Posting](https://blog.sap-press.com/guest-posting)

© 2026 Rheinwerk Publishing, Inc. | Change Privacy Options

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "SAP PRESS",
    "url" : "https://blog.sap-press.com/author/sap-press"
  },
  "dateModified" : "2026-02-25T17:01:17.062Z",
  "datePublished" : "2019-12-30T15:51:00.000Z",
  "headline" : "How to Set Up a User in SAP HANA XSA [Tutorial]",
  "image" : [ "https://blog.sap-press.com/hubfs/How%20to%20Set%20Up%20a%20User%20in%20SAP%20HANA%20XSA%20%5BTutorial%5D.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://blog.sap-press.com/how-to-set-up-a-user-in-sap-hana-xsa-tutorial",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://blog.sap-press.com/hubfs/Logo-1.jpg"
    },
    "name" : "Rheinwerk Publishing, Inc."
  }
}
```