Skip to Content
Previous

Getting Started with YaaS

By Seyedehmorvarid Khademhaghighat

In this tutorial, you will get started with YaaS and create a YaaS project. You will learn about the YaaS Builder and the YaaS Market.

You will learn

You will learn how to create your own YaaS project. This project will provide back-end support for a YaaS Storefront that you be creating in the next tutorial. The starting point is the Builder which is the back-office client of YaaS. The Builder’s main functionalities are the orchestration of YaaS Organizations, Projects and Packages, and the maintenance and management of some billing and sales data. You will also learn about the YaaS Market where you can subscribe to different packages of your choice.

Details


Step 1: Register and sign in to Builder

Register and sign in to the Builder.

Account Creation
Please log in to access this content.
Step 2: Create organization

Create an Organization. Make sure to select Non-Commercial for your organization’s Purpose of Use. You will then be navigated to your organization’s detail page.

Organization Creation
Please log in to access this content.
Step 3: Create a new YaaS Project

In the Builder, from your organization page choose Administration on the left side tab and then choose Projects. Use the + Project button to create a new YaaS Project.

Complete the fields with the required information and save the form.

Project Creation

NOTE: Your project Identifier must be unique. It is validated in the Builder. You will use this in later steps so it is better to save it somewhere now.

TIP: You can switch the Turn Help On toggle button in the left navigation panel to see prompts.

Please log in to access this content.
Step 4: Package subscriptions

SAP Hybris offers various YaaS functionalities grouped in to packages. Packages include a set of micro services and maintenance user interfaces called Builder modules. Each package has its distinct value proposition as well as a customer segment it addresses. Your YaaS Project can use these packages if it first subscribes to them. In order to support a YaaS storefront, your YaaS Project needs the functionality of 7 packages, so you need to subscribe to them now. Let’s go through an example of subscribing to one package (Cart, beta package). The complete list of required packages is provided below:

  • Select your project, from Projects on the Builder home page.
  • From Administration menu in the left navigation, go to Subscriptions.
  • Use the + Subscription button. You are then redirected to the YaaS Market.
  • Click on Beta Packages. Beta packages are available free of charge and are intended for testing purposes in non-productive environments. They provide the same functionality as standard packages, but the number of requests or API calls per month is limited.
Yaas Market
Please log in to access this content.
Step 5: Subscribe to cart package

Choose the cart package and click on get it. You will be directed to the package Detail Page.

Cart Package

Click on Subscribe Now and select the project your package should be assigned to. In the example below the name of our project is “Sample”.

Package Project
Please log in to access this content.
Step 6: Finalize subscription

Click Continue and then Subscribe Now to finalize your subscription.

Please log in to access this content.
Step 7: View subscriptions

Allow 10 seconds for processing and check in your project’s Administration section in the Builder if the package is displayed under Subscriptions. If the package is not displayed, reload your browser’s page.

Please log in to access this content.
Step 8: Add other subscriptions

You need to subscribe to all Checkout, Coupon Management, Customer Accounts, Order Management, Product Content and Site Management packages. Follow the step 2 in order to subscribe to these packages.

Please log in to access this content.
Step 9: Create a new YaaS Client

Now that you have subscribed to these packages, your YaaS Project is now aware of them, but to be able to call the micro services in those packages, your YaaS Project needs to have a valid YaaS Client. Create a new YaaS Client and select all possible required Scopes (permissions) while doing so. Follow the steps below:

  • Select your project from Projects.
  • In the left navigation panel, go to Clients.
  • Use the + Client button.
  • Select all the scopes. Use the Next button to proceed to the Details section.Scope Assignment
Please log in to access this content.
Step 10: Add details and save

Complete the fields, such as in the example, and Save the form.

Create Client

In this step, you created your own YaaS project and a YaaS client. You also learned how to subscribe to different packages on YaaS Market. The next step is downloading and running a default YaaS Storefront project which runs locally on your machine. You will browse through a storefront which is populated with products and services.

Please log in to access this content.

Next Steps

Next
Back to top