Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
addons:engage:start:crm13orabove [2019-10-18 13:03] James Pember |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Installing the Engage integration for on-prem customers using Lime CRM version 13+ π¨π₯π ====== | ||
| - | Lime Engage is an add-on for Lime CRM that lets customers create internal competitions to help them to try improve certain activities, behaviours and results. | ||
| - | |||
| - | For example, a sales team may run a competition to try and increase the number of booked meetings, or cold calls. A support team may try to close down as many tickets as possible in a certain amount of time. | ||
| - | |||
| - | This integration lets you define a configuration that means when certain events are triggered in Lime CRM, a user in Engage will be rewarded in Engage. | ||
| - | |||
| - | ====== Contact information π¬ ====== | ||
| - | |||
| - | * James Pember (james.pember@lime.tech), | ||
| - | * Bryce Sampson (bryce.sampson@lime.tech), | ||
| - | |||
| - | ====== Pre-Requisites ====== | ||
| - | |||
| - | * Lime CRM Server Version 13.0.0 or above. If your customer is running a version 12.X or lower, please refer to [this documentation](https:// | ||
| - | * Customer needs a '' | ||
| - | |||
| - | ====== Installing the Engage package in the customer' | ||
| - | |||
| - | ==== Step 1a - Add '' | ||
| - | |||
| - | First, we need to tell our customer' | ||
| - | |||
| - | **Task: Add addon-engage to the list of dependencies in the '' | ||
| - | |||
| - | You can always browse the latest releases of '' | ||
| - | |||
| - | Your '' | ||
| - | |||
| - | < | ||
| - | [tool.lime.dependencies] | ||
| - | addon-engage = '> | ||
| - | addon-anothercooladdon = ' | ||
| - | </ | ||
| - | |||
| - | ==== Step 1b - Make sure '' | ||
| - | |||
| - | Open up your solution-repo on Github and click the Settings. Then click the " | ||
| - | |||
| - | This is needed because this is the Github user who will handle auto-releasing new solution packages for us. | ||
| - | |||
| - | ==== Step 2 - Merge this dependency change to master and trigger a new release of the solution ==== | ||
| - | |||
| - | Now we need to create a new release of your package with your updated list of dependencies, | ||
| - | |||
| - | To do this, we use a clever tool called Semantic Release - which means we can use our commit messages to trigger a new release. | ||
| - | |||
| - | **Task: Commit your changes to master (either direct to master or via Pull Request, both are fine) with the following commit message below** | ||
| - | |||
| - | '' | ||
| - | |||
| - | If you do not include the '' | ||
| - | |||
| - | ==== Step 3 - Ensure that your solution builds successfully ==== | ||
| - | |||
| - | Every time you commit code to your solution-repo, | ||
| - | |||
| - | Before proceeding we need to ensure everything looks good with our codebase, even if just made a small change to the dependency file. | ||
| - | |||
| - | Browse to https:// | ||
| - | Search for your solution | ||
| - | It will probably show up at a link like https:// | ||
| - | |||
| - | **Task: Make sure the master branch is a nice big green tick!** | ||
| - | |||
| - | {{: | ||
| - | |||
| - | ==== Step 4 - Export your solution ==== | ||
| - | |||
| - | To export a solution, do the following: | ||
| - | |||
| - | * Browse to https:// | ||
| - | * Press the Build with Parameters button in the sidebar menu. | ||
| - | * Fill in the form with your '' | ||
| - | * This will start a new job that will export your solution and publish it on github as a release asset under the βreleasesβ tab (e.g. https:// | ||
| - | |||
| - | **Task: Build and release a new solution using the Solution Exporter steps above** | ||
| - | |||
| - | //Note: When a solution is exported it is built for a specific version of Lime CRM, the one you just chose in the form above. That means that every time you upgrade a server, you need to export the solution again. Otherwise, you might re-install the previous version of Lime CRM when installing the solution.// | ||
| - | |||
| - | ==== Step 4 - Install the solution on the customer' | ||
| - | |||
| - | First we need to download the exported solution from github (https:// | ||
| - | |||
| - | **Task: Download the '' | ||
| - | |||
| - | Now, within the customers CRM environment, | ||
| - | |||
| - | Make sure you're in the same directory as the .tar.gz file and then run the following command to install the new solution we've packaged up. | ||
| - | |||
| - | '' | ||
| - | |||
| - | Finally, you have to restart every installed Lime Service (Event Handler, Web Server etc) such that the customisations in the solution is picked up by Lime CRM. Open the Services application and do this now. | ||
| - | |||
| - | **Verify that '' | ||
| - | |||
| - | Go to the customers Lime Admin, open the Miscellaneous tab and make sure Lime Engage shows up in the sidebar. If so, the solution and add-on are installed! π Great job! | ||
| - | |||
| - | ====== Engage Time! π₯ ====== | ||
| - | |||
| - | OK! So now you have installed the '' | ||
| - | |||
| - | ==== Step 5 - Create an Engage account for the customer ==== | ||
| - | |||
| - | **Task: If the customer has not used Engage before, go to https:// | ||
| - | |||
| - | You will be asked to add a Name, Email and Password. Do not use your own information, | ||
| - | |||
| - | **Task: Please save this email and password in Password State on the customers card.** | ||
| - | |||
| - | You will now be able to login with this account and you'll land on an empty Dashboard. | ||
| - | |||
| - | ==== Step 6 - Generate an Engage API key for this account ==== | ||
| - | |||
| - | Once on the Dashboard, logged in as the customer, click on the users profile in the top-right and click '' | ||
| - | |||
| - | **Task: Generate a new API Key and go and save it in PasswordState. You'll need this for configuring Engage later!** | ||
| - | |||
| - | ==== Step 7 - Set this to a Lime CRM integration customer in the Engage BackOffice ==== | ||
| - | |||
| - | This is an admin portal for Engage where you can do a bunch of cool stuff. | ||
| - | |||
| - | Make sure you are logged in as a SUPER_USER and go to The Engage Backoffice https:// | ||
| - | |||
| - | Find the account/ | ||
| - | |||
| - | ==== Step 8 Configuring Engage in Lime Admin ==== | ||
| - | |||
| - | You are now ready to start building the configuration itself i.e. telling the integration **what to listen to in CRM** and **when to give someone a reward in Engage!** | ||
| - | |||
| - | **Task: Add the Engage API key to Lime Admin. Click on Engage in the LimeAdmin-> | ||
| - | |||
| - | Use the following format: | ||
| - | '' | ||
| - | |||
| - | ==== Step 9 Configuring your first activity ==== | ||
| - | |||
| - | **Task: Build your first Data Configuration Mapper** | ||
| - | |||
| - | The Engage add-on uses something we call '' | ||
| - | |||
| - | Here are two simple examples of activity mappers. | ||
| - | |||
| - | < | ||
| - | - name: Booked customer visit | ||
| - | active: true | ||
| - | limetype: history | ||
| - | event: new | ||
| - | coworker_field_name: | ||
| - | engage_activity_name: | ||
| - | filter_boolean_operator: | ||
| - | lime_filters: | ||
| - | - { key: type, operator: equals, value: bookedcustomervisit } | ||
| - | engage_custom_field_mappers: | ||
| - | - { engage_custom_field_name: | ||
| - | </ | ||
| - | |||
| - | This mapper above accepts new history notes where the type is ' | ||
| - | |||
| - | < | ||
| - | - name: Deal won | ||
| - | active: true | ||
| - | limetype: deal | ||
| - | event: update | ||
| - | coworker_field_name: | ||
| - | engage_activity_name: | ||
| - | cash_value_field: | ||
| - | filter_boolean_operator: | ||
| - | lime_filters: | ||
| - | - { key: dealstatus, operator: equals, value: agreement } | ||
| - | - { key: value, operator: gt, value: 50000 } | ||
| - | engage_custom_field_mappers: | ||
| - | - { engage_custom_field_name: | ||
| - | - { engage_custom_field_name: | ||
| - | </ | ||
| - | |||
| - | This mapper accepts deal, where the '' | ||
| - | |||
| - | **Some notes on configuring mappers** | ||
| - | |||
| - | - Always use database names in the configuration | ||
| - | - You cannot combine '' | ||
| - | - Users are matched on email between Engage and CRM. This means make sure the users in Engage have the same users in Lime CRM | ||
| - | |||
| - | Read more about how to customise the mappers here: https:// | ||
| - | |||
| - | **Task: Create a simple first mapper and try press Save. Try a "sales call" or something similar. When you press save, we will validate your config and tell you if something is wrong** | ||
| - | |||
| - | ==== Step 10 Testing your activity and the real-time sync ==== | ||
| - | |||
| - | Go back to Engage and log in as your customer. | ||
| - | |||
| - | - If you go to https:// | ||
| - | - Click create competition and create a competition. When you get to the "Add Activity" | ||
| - | - When you get to the participants page, add yourself (i.e. the customer) to the competition | ||
| - | - Complete the rest of the competition creation and set it to start right away so we can test now! | ||
| - | - Go back to Lime CRM and go create the activity you want to sync. **MAKE SURE that the coworker is set to the same coworker (with email) as the user you have in Engage**. You should get points/ | ||
| - | |||
| - | |||
| - | ==== Step 11 Next steps ==== | ||
| - | |||
| - | - Build out a real config and lots of mappers based on the customer needs | ||
| - | - Create all the users in Engage (you have to do this manually for now unfortunately). Do it here https:// | ||
| - | - Good luck have fun! | ||
| - | - PROFIT! π€ | ||