-
Notifications
You must be signed in to change notification settings - Fork 160
Cloud FAQ
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
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.
Rocket.Chat server should be already installed on your UNA cloud.
If you are using your own domain then you choose your chat URL by yourself, if you are using .una.io
domain, then it's automatically generated by adding -chat
to your subdomain, for example if your site URL is https://orange.una.io
then chat URL will be https://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 examplehttps://orange.una.io
-
Site Name
: any name, for exampleOrange
-
Enable
: set totrue
-
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.
IMPORTANT NOTE: documentation was moved here - https://una.io/wiki/Introduction