Connect to Klaviyo Data in DBArtisan
The CData ODBC Driver for Klaviyo seamlessly integrates Klaviyo data into database management tools like DBArtisan by enabling you to access Klaviyo data as a database. This article shows how to create an data source for Klaviyo in DBArtisan and execute queries. You can then edit data visually and execute standard SQL.
Integrate Klaviyo Data into DBArtisan Projects
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.
To authenticate to Klaviyo, provide an API Key. You can generate or view your API keys under 'My Account'
- Navigate to 'Settings' > 'API Keys'
- Click 'Create API Key'.
- Name your API key and choose the desired scopes.
To connect in your CData solutions, set API Key to your Klaviyo API key.
If you wish to use OAuth authentication, refer to the Help documenation.
You can then follow the steps below to register Klaviyo data as a database instance in your project:
- In DBArtisan, click Data Source -> Register Datasource.
- Select Generic ODBC.
- Enter a name for the data source and select the DSN.
- Finish the wizard to connect to Klaviyo data. Klaviyo entities are displayed in the Datasource Explorer.
You can now work with Klaviyo data as you work with any other database. See the driver help documentation for more information on the queries supported by the Klaviyo API.