How do I connect Logi INFO to a database that supports ODBC?

Use an Easysoft ODBC driver to connect Logi INFO to a database that supports ODBC, enabling you to analyse data stored in data stores such as MongoDB and Salesforce from Logi INFO.

Logi INFO, which is produced by Logi ANALYTICS, allows you to develop a .NET application that uses an ODBC driver to interact with an external data source. ODBC is a data access technology, the Microsoft implementation of which is included with Windows.

Example: How to connect Logi INFO to Salesforce

The components necessary to connect Logi INFO to Salesforce are:

Logi INFO <-> Salesforce ODBC driver <-> Salesforce

Example: How to connect Logi INFO to MongoDB

The components necessary to connect Logi INFO to MongoDB are:

Logi INFO <-> MongoDB ODBC driver <-> MongoDB

The Salesforce ODBC driver and MongoDB ODBC driver are available to download from the Easysoft web site.

Installing, licensing, and testing the Easysoft ODBC Driver

  1. Download the Windows Salesforce ODBC driver or Windows MongoDB ODBC driver as required.
  2. Install and license the Easysoft ODBC driver on a Windows machine.

    For installation instructions, refer to the Salesforce ODBC driver documentation or MongoDB ODBC driver documentation.

Connecting Logi INFO to your ODBC database

You can now connect Logi INFO to Salesforce or MongoDB:

  1. In Logi INFO Studio, choose New Application.
  2. Choose Microsoft.NET when prompted to choose your application type.
  3. Type "Salesforce" or "MongoDB" when prompted to name your application.
  4. Choose Next in the first three screens of the Wizard.
  5. Choose a Theme when prompted and then choose Next.
  6. Type "Easysoft Data" when prompted for an Application Caption, and then choose Next.
  7. Leave the Data Visualization set to Analysis Grid, and then choose Next.
  8. Leave the Data Layer set to SQL, and then choose Next.
  9. Choose Create New from the Connection ID list, and then choose Next.
  10. Type "EasysoftConnection" when prompted to name the connection, and then choose Next.
  11. Choose ODBC in the Connection Type list, and then choose Next.
  12. Type an Salesforce or MongoDB connection string when prompted, and then choose Next:

    Salesforce connection string:

    Driver=Easysoft SalesForce ODBC Driver;Uri=https://login.salesforce.com/services/Soap/u/34;Uid=myuser@mydomain;
    Pwd=mypassword;Token=abcdef1234
    Connection string setting Value
    Uid The name of your Salesforce user.
    Password The password for your Salesforce user.
    Token The security token for your Salesforce user, if required.

    If the connection attempt fails with an error which contains LOGIN_MUST_USE_SECURITY_TOKEN, you need to supply a security token.

    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.

    MongoDB connection string:

    Driver=Easysoft MongoDB ODBC Driver;Server=mymachine;Database=mydatabase;Uid=myuser;Pwd=mypassword
    Connection string setting Value
    Server The name or IP address of the host where your MongoDB instance is running.
    Database The MongoDB database that you contains the data that you want to access.
    Uid If you need to supply a user name to access your MongoDB database, include this connection string attribute. Otherwise, omit it
    Password The password for your MongoDB user, if required, otherwise omit this attribute.
  13. Use the SQL Query Builder to choose the data that you want to retrieve in Logi INFO, and then choose Finish.
  14. Choose Preview to display the data in Logi INFO.