Connecting to Brandwatch via SQL
You can use SQL to connect to Brandwatch in the Data Virtuality Studio or the Code Editor in the Web UI.
Pre-requisites
You need an AuthUserName, AuthPassword for gaining access to the API.
How to Connect
Before you start retrieving data, you need to run the connector script for CONNECTORNAME in the Data Virtuality Studio or the Web UI and input your credentials in the following line:
CALL SYSADMIN.createConnection (
name => 'brandwatch_src',
jbossCLITemplateName => 'ws',
connectionOrResourceAdapterProperties => 'EndPoint=https://api.brandwatch.com,SecurityType=None,AuthUserName=<AuthUserName>,AuthPassword=<AuthPassword>') ;;
CALL SYSADMIN.createDataSource (
name => 'brandwatch_src',
translator => 'brandwatch',
modelProperties => 'cleanupMethod=DELETE',
translatorProperties => ''
) ;;