Create an Application
A Murano Application enables developers to create and deploy custom interfaces and API services. Applications combine three key features:
- A custom API with definable endpoints (routes), scripted logic, and integration with a User Service for permission control.
- Asset hosting for deploying static file based applications, like a CDN.
- Service event handler scripts that have access to all Murano services.
Table of Contents
To create an Application Solution using the Web UI:
1. On the Murano 'Home' solutions page, click "ADD MURANO APPLICATION".
2. On the marketplace select the "Murano Application" category filter
Note: Not to be confused with other categories as follow:
- Applications - End-to-end Exosite application which cannot be customized directly. Eg. ExoSense & ExoHome
- IoT-Connectors - Already-Connected devices ready to be claimed.
- IoT-Connectors templates - IoT-Connectors configuration to connect devices.
You will find several other IoT-Connectors template with various added functionalities. Including:
- Application from scratch - An empty Application.
- Application Template Tutorial - An application we several usage example designed to learn about Murano development.
3. We will choose & select here the "Application from scratch"
4. On the element page, click on "CREATE APPLICATION".
5. Choose your application name and sub-domain and apply.
6. On Murano Home page, select the Application you just created.
You can see the webservice API domain created automatically. You can access it by clicking on the right menu
Go-To-Application. Another key information is the Application solution unique ID which will be usefull for development & troubleshooting.
7. To copy your Application solution ID go to the top-left portion of the screen, click on the ID button.
$ murano application create <name> --save
This command will return the ID of your new application. It will also save the ID to a local
.murano/config file, so that your project will use this ID in the future.
Configure Your Application Manually
If you have already created an application, you can easily configure Murano CLI to use it using
murano init, or you can enable it manually by adding it to the
$ murano config application.id <application-id>