Connecting to Similarweb via SQL
You can use SQL to connect to Similarweb in the CData Virtuality Studio or the Code Editor in the Web UI.
Pre-requisites
You need the ApiKey.
How to Connect
Before you start retrieving data, you need to run the connector script for Similarweb in the CData Virtuality Studio or the Web UI and input your credentials in the following line:
CALL SYSADMIN.createConnection (
name => 'similarweb_src'
,jbossCLITemplateName => 'ws'
,connectionOrResourceAdapterProperties => 'EndPoint=https://api.similarweb.com,SecurityType=None,ConnectTimeout=60000,RequestTimeout=60000'
);;
CALL SYSADMIN.createDataSource (
name => 'similarweb_src'
,translator => 'similarweb'
,modelProperties => 'apiKey=<apiKey>,importer.useFullSchemaName=false'
,translatorProperties => ''
);;