ivylabs / suitecrm-data-integration

7 stars 5 forks source link

SuiteCRM Data Integration

SuiteCRM Data Integration handles the population of the Data Warehouse. Its job is to pull data from SuiteCRM, denormalise the data and prepare it for analytics using SuiteCRM Analytics

Requirements

Install Java

Install MySQL

Build Instructions

Server Setup Instructions

Configure Installation

• Open the install.properties in a text editor
• Configure the database connection properties
    ◦ Properties that start with SUITECRM_ should point to your existing SuiteCRM Installation
    ◦ Properties that start with SUITECRM_ANALYTICS_ should point to the newly created database in the previous steps.
    ◦ NOTE: The user for the SUITECRM_ANALYTCS database should have root permissions so that the installation can create the Data Warehouse tables

Populate the Data Warehouse

Now that the solution is configured we can populate the Data Warehouse with data from SuiteCRM. Simply run:

This script will get all the data from from SuiteCRM on the first run and with any future runs, it will get the latest changed data. This means the first run could take some time but subsequent runs will be faster depending on the volume of new data. Check The Data Warehouse Once the script above has been completed without errors you can log into MySQL to check that the SuiteCRM Data Warehouse contains data.