1. Open Ploy and navigate to integrations

  1. Go to https://app.joinploy.com/integrations and select RocketChat under the Communications Section
  2. Select the "+" icon to add a connection
  3. Navigate to your RocketChat instance and copy the base domain including the protocol, see the example below:

https://ploydev.rocket.chat

  1. Paste that into the Rocket chat base URL field within the Ploy configuration

https://downloads.intercomcdn.com/i/o/908254876/8571a787ab337f8faf68b6a4/Screenshot+2023-08-10+at+12.07.36.png?expires=1734258600&signature=1494e0771f88fc1db96f82d5961a3cf311093b707d7d3bad054e17b694621832&req=fSAvFMx6lYZZFb4f3HP0gGmMghGSG6bS24CQTniXdruCdn7H4D%2FWMugADIAD
hsxdQv2GIus%2BFaR4GQ%3D%3D

2. Change role permissions

In order for Ploy to work, we need to be able to know the email address associated with each user in your RocketChat instance. To do that, the role you grant the user will need to have all the permissions that the default bot role has, as well as the “View Full Other User Info” permission which gives us access to each users email address.

  1. To do this, navigate to Settings > Permissions in RocketChat:

    1. Option 1: add that permission to the Bot role, or
    2. Option 2: create a new role and grant it the same permissions as the Bot role plus "View Full Other User Info" permission
  2. Option 1: add that permission to the Bot role, or

  3. Option 2: create a new role and grant it the same permissions as the Bot role plus "View Full Other User Info" permission

https://downloads.intercomcdn.com/i/o/908257803/1904bb40dd14849fd6cfc8fe/Screenshot+2023-08-10+at+12.09.27.png?expires=1734258600&signature=33ad5f6dd69f4cd568d0f2cd8c1a1ec80b01b5f756a2722c2b8c2132987398dd&req=fSAvFMx5lYFcFb4f3HP0gGiJ4%2FfbdOsFJ7vtCxlpyfqDr8CRQQRRywHnz1qw
V57vE5ovzki1q%2FiO3A%3D%3D

3. New user

Now, in your RockChat instance create a new ‘bot’ user. Choose any name/username/email/password combination that suits your business. You just need to ensure you keep track of the username + password, as you’ll need to copy that into the relevant inputs in the Ploy setup screen.

Remember this is going to be sent to employees sometimes so name it something that is inline with your brand

Ensure you assign the user the ‘bot’ role, or a newly created role with the required permissions.

https://downloads.intercomcdn.com/i/o/908259961/eab4b0cfa592cdfcce937249/Screenshot+2023-08-10+at+12.08.20.png?expires=1734258600&signature=2d25c37ef8e077729695b4fe7e2a66eaea2ab4ecbf3b75ceaba93d21c415dc76&req=fSAvFMx3lIdeFb4f3HP0gJSIBDdQIZS50i4LjrqVwD7dppRa8Tylre1Dju8I
earhd%2BS18l6q9WqRLw%3D%3D

4. Past Name + Password into Ploy

  1. Now paste the username and password into Ploy
  2. Click Test
  3. Save the integration

https://downloads.intercomcdn.com/i/o/908260885/0301cfb8ba4a538ab5544d9f/Screenshot+2023-12-13+at+11.03.00.png?expires=1734258600&signature=4bede6682e9802033fa7218899fa3a06877fab6c9ee48abafe78f7f6963f1bb1&req=fSAvFM9%2BlYlaFb4f3HP0gGxCdDAGEyIvMlfTiqd21vpvc4yD0Le2h9Em7WuW
KIKqUyQyyVMy1lOwZA%3D%3D