![]() |
VOOZH | about |
Write standard .NET to expose Mixpanel data through an SQL interface: Active Query Builder helps developers write SQL interfaces; the CData ODBC Driver for Mixpanel enables standards-based access to Mixpanel. This integration uses the Microsoft ADO.NET Provider for ODBC as a bridge between the ODBC Driver and the Active Query Builder objects to build a visual SQL composer.
If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
Start by setting the Profile connection property to the location of the Mixpanel Profile on disk (e.g. C:\profiles\Mixpanel.apip). Next, set the ProfileSettings connection property to the connection string for Mixpanel (see below).
Obtain Mixpanel service account credentials from your organization settings under Service Accounts, then use the service account username and secret to authenticate.
Follow the steps below to create a WinForms visual query builder.
You can now build queries visually: Double-click a table in the Columns Pane Area and an entity/relationship diagram is displayed in the Query Building Area. Columns that you select in the diagram are added to the query.
๐ Building queries interactively with Active Query Builder.Connect to live data from Mixpanel with the API Driver
Connect to Mixpanel