# Creating custom portal for OpenNebula

**URL:** <https://forum.opennebula.io/t/creating-custom-portal-for-opennebula/9229>\
**Category:** Installation & Configuration\
**Created:** [February 14, 2021, 9:55am UTC](https://forum.opennebula.io/t/creating-custom-portal-for-opennebula/9229 "2021-02-14T09:55:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Qaiss](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/qaiss/32/6854_2.png) [@Qaiss](https://forum.opennebula.io/u/Qaiss)\
**Post date:** [February 14, 2021, 9:55am UTC](https://forum.opennebula.io/t/creating-custom-portal-for-opennebula/9229/1 "2021-02-14T09:55:12Z")

</div>

Good day,

I am rather new to OpenNebula, however was looking to create a portal in which I can build a custom front end UI to OpenNebula and using the XML-RPC API to carry out login authentication. I would like to request assistance in how this may work and if there are previous examples of such. I’m looking to cut down on the functionality that a user has access to as well such us only being able to create VMs and not have access to other aspects/features.

Your help is highly appreciated.

---

<div class="post-metadata">

**Author:** ![ahuertas](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ahuertas/32/7487_2.png) [@ahuertas](https://forum.opennebula.io/u/ahuertas)\
**Post date:** [February 15, 2021, 9:38am UTC](https://forum.opennebula.io/t/creating-custom-portal-for-opennebula/9229/2 "2021-02-15T09:38:24Z")

</div>

Hello @Qaiss

You can do all that kind of customization via [Sunstone yamls](https://docs.opennebula.io/5.12/deployment/sunstone_setup/suns_views.html). You can find [here](https://docs.opennebula.io/5.12/deployment/authentication_setup/index.html) all the documentation about all the authentication methods and how you can manage them.

Best,  
Álex.

---

<div class="post-metadata">

**Author:** ![slnt\_opp](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/slnt_opp/32/6303_2.png) [@slnt\_opp](https://forum.opennebula.io/u/slnt_opp)\
**Post date:** [February 15, 2021, 11:23am UTC](https://forum.opennebula.io/t/creating-custom-portal-for-opennebula/9229/3 "2021-02-15T11:23:49Z")

</div>

You can just make an Sunstone like server with Sinatra or Rails(if you would use Ruby too) and opennebula gem.  
Or same with Java or Golang, using ONe XML-RPC API clients for those

---

<div class="post-metadata">

**Author:** ![Qaiss](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/qaiss/32/6854_2.png) [@Qaiss](https://forum.opennebula.io/u/Qaiss)\
**Post date:** [February 17, 2021, 7:45am UTC](https://forum.opennebula.io/t/creating-custom-portal-for-opennebula/9229/4 "2021-02-17T07:45:58Z")

</div>

These are some good replies, however I am looking for a way to call upon opennebula through an external html developed site. Things like calls to display vms, edit vms, and so on. Plus the login process in which I have a personalized Login page built through HTML and CSS to allow end-users to access the specific features provided.

---

<div class="post-metadata">

**Author:** ![slnt\_opp](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/slnt_opp/32/6303_2.png) [@slnt\_opp](https://forum.opennebula.io/u/slnt_opp)\
**Post date:** [February 17, 2021, 11:58am UTC](https://forum.opennebula.io/t/creating-custom-portal-for-opennebula/9229/5 "2021-02-17T11:58:22Z")

</div>

You can use OpenNebula XML-RPC API directly from your new website(which would be bad approach), or develop a middleware, that’s what we did to develop a custom web application for our customers, since we wanted to remove a lot, use our own auth system and integrate some features in to UI(such as backups which have nothing to do with ONe).

---

<div class="post-metadata">

**Author:** ![Qaiss](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/qaiss/32/6854_2.png) [@Qaiss](https://forum.opennebula.io/u/Qaiss)\
**Post date:** [February 17, 2021, 12:48pm UTC](https://forum.opennebula.io/t/creating-custom-portal-for-opennebula/9229/6 "2021-02-17T12:48:51Z")

</div>

This sounds more like what I am looking for, would you happen to have examples on how you did it?

---

<div class="post-metadata">

**Author:** ![feldsam](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/feldsam/32/4441_2.png) [@feldsam](https://forum.opennebula.io/u/feldsam)\
**Post date:** [February 17, 2021, 10:43pm UTC](https://forum.opennebula.io/t/creating-custom-portal-for-opennebula/9229/7 "2021-02-17T22:43:52Z")

</div>

There are also xml-rpc api bindings for PHP [feldsam-inc/one-php - Packagist](https://packagist.org/packages/feldsam-inc/one-php)

---

<div class="post-metadata">

**Author:** ![Rahul\_Sharma](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/rahul_sharma/32/7093_2.png) [@Rahul\_Sharma](https://forum.opennebula.io/u/Rahul_Sharma)\
**Post date:** [October 1, 2021, 12:53pm UTC](https://forum.opennebula.io/t/creating-custom-portal-for-opennebula/9229/8 "2021-10-01T12:53:12Z")

</div>

Hello @feldsam,  
Can we edit js files under public folder in sunstone.  
I am doing changes in JS and CSS file but the changes in grid is not reflecting.  
Could you please suggest how to change in dev or in PROD.  
Any help is much appreciated and helpful.

Thanks!!

---

<div class="post-metadata">

**Author:** ![feldsam](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/feldsam/32/4441_2.png) [@feldsam](https://forum.opennebula.io/u/feldsam)\
**Post date:** [October 7, 2021, 10:49pm UTC](https://forum.opennebula.io/t/creating-custom-portal-for-opennebula/9229/9 "2021-10-07T22:49:07Z")

</div>

Hi, I just created rebuild.sh script inside public dir.

```auto
#!/bin/bash

./build.sh -d

export PATH=$PATH:$PWD/node_modules/.bin

./build.sh -l

```

---

<div class="post-metadata">

**Author:** ![Rahul\_Sharma](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/rahul_sharma/32/7093_2.png) [@Rahul\_Sharma](https://forum.opennebula.io/u/Rahul_Sharma)\
**Post date:** [October 11, 2021, 10:46am UTC](https://forum.opennebula.io/t/creating-custom-portal-for-opennebula/9229/10 "2021-10-11T10:46:01Z")

</div>

Thanks @feldsam !!
