How install Miuna Shoutbox Server in Heroku:
1 - Create account in mlab https://mlab.com
1.1 - After created account in mlad click in "create new"
![[Image: nZR1K6t.png]](https://camo.mybb.com/e3e8a0011187dfae20ef3952c9776d8ea7d73b34/68747470733a2f2f692e696d6775722e636f6d2f6e5a52314b36742e706e67)
2 - Now create database
2.1 - You can select amazon, google or microsoft provider (your choice)
2.2 - Now select single-node
2.3 - Now select Sandbox
2.4 - In database-name (you can put what you want. e.g. miuna)
2.5 - In last "Create new MongoDB deployment"
![[Image: j4KUVcf.png]](https://camo.mybb.com/379cb6f7dea3bd8a95c36f5ed7bfc6ee9b8e0ba7/68747470733a2f2f692e696d6775722e636f6d2f6a344b555663662e706e67)
3- After created databse you will see something below:
![[Image: 8uzAeak.png]](https://camo.mybb.com/5f3c4eb0da05d09b3904b9a44eb78558736d1db4/68747470733a2f2f692e696d6775722e636f6d2f38757a4165616b2e706e67)
3.1 - Click the database, and note the connection URI in notepad
![[Image: RxaXr7a.png]](https://camo.mybb.com/157acf3d67324507f96dde949575d9a5248eb67b/68747470733a2f2f692e696d6775722e636f6d2f527861587237612e706e67)
3.2 - Now, create a user so the app can connect to the database:
![[Image: 0WUkGTK.png]](https://camo.mybb.com/36e928850f84fbca5164ec34f1b9a388a27355d6/68747470733a2f2f692e696d6775722e636f6d2f3057556b47544b2e706e67)
3.3 - Will appear popup like below (complete tex field, don't mark read-only)
![[Image: Pxwedpw.png]](https://camo.mybb.com/09f28f6fccfa7f0405aa217317eac605d37358db/68747470733a2f2f692e696d6775722e636f6d2f507877656470772e706e67)
3.4 - Replace <dbuser> and <dbpassword> of step 3.1 with what you specified in Step 3.3.
4 - Create account in heroku https://www.heroku.com/
4.1 - Access link https://www.heroku.com/deploy/?template=...ver-Heroku
4.2 - Will open new page (app name is optional)
4.3 - go to "Config Variables"
4.4 - In value past value of step 3.4 (<dbuser> and <dbpassword> replaced with specified in Step 3.3)
4.5 - check several times if there are no blank space in before first character and after last character of steps 4.4 (if you made some mistake here shoutbox not will work)
4.6 - Click in "Deploy for Free"
![[Image: jZU2UpT.png]](https://camo.mybb.com/5fbe3fe418d1729efe2df4e2641e8e505333b62c/68747470733a2f2f692e696d6775722e636f6d2f6a5a55325570542e706e67)
4.7 - Click in "View"
![[Image: XJ8HKDj.png]](https://camo.mybb.com/8360fdc4c297b3806e64698381fc0f0015bbc46d/68747470733a2f2f692e696d6775722e636f6d2f584a38484b446a2e706e67)
4.8 - Now go to step 6 of "How install Miuna Shoutbox Server in Openshift:" of first post and skip step 12 and 13.
How Install plugin:
In configuration of plugin:
Yes in "Enable Miuna Shoutbox?"
Link to Miuna Shoutbox server: past here address that you copied in step 11. Something like https://xxxxxx.herokuapp.com
Ps. Without slash after link
Socket.io address:
Address to Miuna Shoutbox server Socket.io: past here address that you copied in step 11. Something like wss://xxxxxx.herokuapp.com
check several times if there are no blank space in before first character and after last character in Link to Miuna Shoutbox server and Socket.io address:
Miuna Shoutbox Secret: Samething of you puted in step 9
1 - Create account in mlab https://mlab.com
1.1 - After created account in mlad click in "create new"
2 - Now create database
2.1 - You can select amazon, google or microsoft provider (your choice)
2.2 - Now select single-node
2.3 - Now select Sandbox
2.4 - In database-name (you can put what you want. e.g. miuna)
2.5 - In last "Create new MongoDB deployment"
3- After created databse you will see something below:
3.1 - Click the database, and note the connection URI in notepad
3.2 - Now, create a user so the app can connect to the database:
3.3 - Will appear popup like below (complete tex field, don't mark read-only)
3.4 - Replace <dbuser> and <dbpassword> of step 3.1 with what you specified in Step 3.3.
4 - Create account in heroku https://www.heroku.com/
4.1 - Access link https://www.heroku.com/deploy/?template=...ver-Heroku
4.2 - Will open new page (app name is optional)
4.3 - go to "Config Variables"
4.4 - In value past value of step 3.4 (<dbuser> and <dbpassword> replaced with specified in Step 3.3)
4.5 - check several times if there are no blank space in before first character and after last character of steps 4.4 (if you made some mistake here shoutbox not will work)
4.6 - Click in "Deploy for Free"
4.7 - Click in "View"
4.8 - Now go to step 6 of "How install Miuna Shoutbox Server in Openshift:" of first post and skip step 12 and 13.
How Install plugin:
In configuration of plugin:
Yes in "Enable Miuna Shoutbox?"
Link to Miuna Shoutbox server: past here address that you copied in step 11. Something like https://xxxxxx.herokuapp.com
Ps. Without slash after link
Socket.io address:
Address to Miuna Shoutbox server Socket.io: past here address that you copied in step 11. Something like wss://xxxxxx.herokuapp.com
check several times if there are no blank space in before first character and after last character in Link to Miuna Shoutbox server and Socket.io address:
Miuna Shoutbox Secret: Samething of you puted in step 9