Features Connections Pricing Partners Company Contact Us
1-720-285-8652

Database Documentation

Need help connecting to databases in Easy Insight? Here's the documentation to guide you through the process.

Documentation Image

Table of Contents

How do I connect to relational databases with Easy Insight?

Easy Insight offers connections to MySQL, SQL Server, and Oracle. Given that most databases sit behind the firewall, Easy Insight provides a client you can download into your system and use to publish the data off into Easy Insight.

Where do I download the client?

You can download the client from the Connections page of Easy Insight. Click on MySQL, SQL Server, or Oracle from the Connections page, then click Get Started Now to download the client.

How do I install the client?

The client is a Java web application, delivered as a WAR file. You can easily add the client to any Java application server. For example, if you're using Apache Tomcat, you can just drop the web application into the /webapps directory of the Tomcat server. Once installed, you can connect to the client by opening your browser to http://[your application server address]:[app server port]/eidbconnection.

How do I set up the client to connect to Easy Insight?

The first time you hit the client, you'll first be prompted to set up login credentials for the client itself. Once that's done, you'll need to add the key/secret key for your Easy Insight account. You can find your key/secret key under "My API Information" under the Developers section of Easy Insight.

How do I define a connection to a database?

Once connected, you need to point the client at a relational database. Click over to Data Sources, click New Connection, and fill in the connection information for your database. Click Create once done.

How do I define a query?

Now that you have a database connection, you can set up a query to publish data across into Easy Insight. Click New Query to start building out a query. Data Source Name is the data source in Easy Insight you'll be publishing the data into. You can choose to Replace whatever data's already in the data source or Append the results on top of whatever's there.

As far as the query itself, it'll be a SELECT statement which pulls back some set of data, which is then sent into Easy Insight. For example:


SELECT COUNT(*) as AccountCount, account_type as AccountType from Account group by AccountType
                

Operating against a hypothetical Account table, this query would produce two columns, AccountCount and AccountType. Clicking Create and Upload will send the results across into Easy Insight, creating a new data source for Easy Insight reporting with the same two columns.