Use the JDBC-ODBC Bridge with an Easysoft ODBC driver to connect Birst to a database that supports ODBC, enabling you to analyse data stored in back ends such as MongoDB and Salesforce from your Birst dashboard.
Birst is a Java application. To interact with a data source such as Salesforce, a Java application uses a JDBC driver. (JDBC is a Java application programming interface (API) that connects Java to relational databases and other tabular data such as spreadsheets and flat files.)
Easysoft ODBC drivers use ODBC to connect to the database for which they provide access. ODBC is another data access technology, the Microsoft implementation of which is included with Windows.
The JDBC-ODBC Bridge allows a Java application using JDBC to access an ODBC driver. The JDBC-ODBC Bridge and ODBC driver don't have to be installed on the same machine.
The components necessary to connect Birst to Salesforce are:
Birst <-> JDBC-ODBC Bridge <-> Salesforce ODBC driver <-> Salesforce
The components necessary to connect Birst to MongoDB are:
Birst <-> JDBC-ODBC Bridge <-> MongoDB ODBC driver <-> MongoDB
For installation instructions, refer to the Salesforce ODBC driver documentation or MongoDB ODBC driver documentation.
Before you can use the Easysoft ODBC driver to connect Birst to Salesforce or MongoDB, you need to configure a system ODBC data source in ODBC Data Source Administrator. An ODBC data source stores the connection details for the target database (in this case, Salesforce or MongoDB) and the ODBC driver that's required to connect to it (in this case, the Salesforce ODBC driver or the MongoDB ODBC driver).
To run ODBC Data Source Administrator, in the Windows Run dialog box, enter this command:
%windir%\syswow64\odbcad32.exe
Easysoft ODBC-Salesforce Driver
, and then choose Finish.Setting | Value |
---|---|
DSN | Salesforce |
User Name | The name of your Salesforce user. For example, myuser@mydomain.com . |
Password | The password for your Salesforce user. |
Token |
The security token for your Salesforce user, if required.
To find out whether you need to supply a security token, choose the Test button. If the connection attempt fails with an error which contains Salesforce emails the security token to the email address associated with your Salesforce user account. If you have not received a security token, you can regenerate it. Salesforce will then email the new security token to you. To regenerate your security token, log in to Salesforce and then choose Setup from the user menu. Search for "security token" in the Quick Find box. Choose Reset Security Token in the Reset Security Token page. When you receive the token in your email client, copy it and then paste it into the Token field. |
Easysoft ODBC-MongoDB Driver
, and then choose Finish.Setting | Value |
---|---|
DSN | MongoDB |
Description | Easysoft MongoDB ODBC driver |
Server | The name or IP address of the host where your MongoDB instance is running. |
User Name | If you need to supply a user name to access your MongoDB database, enter it here. |
Password | The password for your MongoDB user name. |
For installation instructions, refer to the JDBC-ODBC Bridge documentation.
Easysoft JDBC-ODBC Bridge Server x64 service
is running, and that the Easysoft JDBC-ODBC Bridge Server
service is stopped (stop the service and in the server properties, set the Startup type to Manual
).You can now connect Birst to Salesforce or MongoDB:
BirstConnect.zip
and the .jlnp
file that launching the configuration generates.BirstConnect
. For example:
c:\BirstConnect
BirstConnect.zip
and the .jlnp
file to this new folder.BirstConnect.zip
.EJOB.jar
to the the drive:\BirstConnect\dist\lib
folder.
EJOB.jar
is installed in the following location on the machine where you installed the JDBC-ODBC Bridge:
install_dir\Jars
The default location for install_dir
is drive:\Program Files (x86)\Easysoft Limited\Easysoft JDBC-ODBC Bridge
.
BirstConnect
folder, open BirstConnect.xml
in a text editor.BirstConnect.xml
:
Property | Value |
---|---|
JAVA_HOME |
Replace %JAVA_HOME% with the location where Java is installed. For example, C:\Program Files\Java\jdk1.7.0_45 . |
BirstConnect_Home |
drive:\BirstConnect |
-Djnlp.file |
Replace BirstConnect.jnlp with the name of the .jnlp file that you've just generated. |
drive:\BirstConnect folder
.BirstConnect install
to install the BirstConnect Service.commandline
subfolder, open cmdUI.bat
in a text editor. Change the settings in this file to match the ones you've just changed in BirstConnect.xml
.cmdUI.bat
.Easysoft
.Setting | Value |
---|---|
Database Type | Generic JDBC Database |
Driver Name | easysoft.sql.jobDriver |
Connection String | jdbc:easysoft://localhost:8831/my_odbc_system_dsn:logonuser=my_windows_user:logonpassword=my_windows_password |
The data is now available to Birst for processing.