Skip to content
Alex Trofimov edited this page Jan 28, 2019 · 33 revisions

1. How to configure Jot Messenger in UNA Cloud?

Jot server is automatically installed on you UNA cloud, Jot Server has the same address as you site but with 5000 port. If you decided to use it, then after installing Jot Messenger module you need to enter Jot Server address in Jot Messenger settings (Studio > Messenger). For example if your site has https://mysite.una.io URL, then you need to enter the following for the "Server URL for messenger" setting: https://mysite.una.io:5000

2. How to use own domain for my site in UNA Cloud?

Go to your DNS management page, usually it's in your registrar (where you bought the domain) then add A DNS record pointing to your UNA site IP, which can be found here on your Networks page - https://una.io/page/hosting-api-subscriptions-user.
You need to do this before changing domain in UNA interface.

If you want to use own domain for Rocket.Chat as well, then you need to add subdomain for the chat, for example you can add A DNS record for chat subdomain pointing to the same IP.

Then wait some time until your domain is resolving to the new IP (usually within 1 hour, but can take up to 48 hours), then go to your Networks page - https://una.io/page/hosting-api-subscriptions-user, edit your cloud configuration and enter your new domain for the site and optionally for the Rocket.Chat as well.

3. How to configure Rocket.Chat in UNA Cloud?

Rocket.Chat server is already installed on your cloud, if you are using your own domain then you enters your chat URL, if you are using .una.io domain, then it automatically generated by adding -chat to your subdomain, for example if your site URL is orange.una.io then chat URL will be orange-chat.una.io.
To enter to your Rocket.Chat admin panel, use the same email and password you've specified during your site creation, the same credentials are used to login to UNA Studio.
To allow your users to login to the chat with UNA login and password, you need to configure it. First - install OAuth2 Server module for UNA. Then go to Studio > OAuth2 Server > click "Add New Client", enter any title (for example: Orange) and your Rocket.Chat server URL (for example: https://orange-chat.una.io), after clicking "Submit" you should have new key&secret generated for you to use it in Rocket.Chat. Then go to your Rocket.Chat > Administration > OAuth > expand "UNA" section > then enter the following:

  • URL: enter your UNA site URL, for example https://orange.una.io
  • Site Name: any name, for example Orange
  • Enable: set to true
  • Id: previously generated in UNA Client Key (for example: wyncwafugq)
  • Secret: previously generated in UNA Client Secret (for example: sg45wf6myz3tsbn2stqb7ewky4ybevua)
    Then click "Save Changes". After this configuration users should be able to login to chat by clicking on separate button above login and password inputs, users will be redirected to your UNA site for the confirmation, after confirmation users will be redirected back to the chat and will be already logged in.
Clone this wiki locally