Connect to Cvent Data in Airbyte ELT Pipelines
Airbyte empowers users to load your data into any data warehouse, data lake, or database. When combined with CData Connect AI, Airbyte users can create Extract, Load, Transform (ELT) pipelines directly from live Cvent data. This article illustrates the process of connecting to Cvent through Connect AI and constructing ELT pipelines for Cvent data within Airbyte.
CData Connect AI offers a dedicated SQL Server interface for Cvent, facilitating data querying without the need for data replication to a native database. With built-in optimized data processing capabilities, CData Connect AI efficiently directs all supported SQL operations, including filters and JOINs, straight to Cvent. This harnesses server-side processing to swiftly retrieve the desired Cvent data.
Configure Cvent Connectivity for Airbyte
Connectivity to Cvent from Airbyte is made possible through CData Connect AI. To work with Cvent data from Airbyte, we start by creating and configuring a Cvent connection.
- Log into Connect AI, click Sources, and then click Add Connection
- Select "Cvent" from the Add Connection panel
-
Enter the necessary authentication properties to connect to Cvent.
Before you can authenticate to Cvent, you must create a workspace and an OAuth application.
Creating a Workspace
To create a workspace:
- Sign into Cvent and navigate to App Switcher (the blue button in the upper right corner of the page) >> Admin.
- In the Admin menu, navigate to Integrations >> REST API.
- A new tab launches for Developer Management. Click on Manage API Access in the new tab.
- Create a Workspace and name it. Select the scopes you would like your developers to have access to. Scopes control what data domains the developer can access.
- Choose All to allow developers to choose any scope, and any future scopes added to the REST API.
- Choose Custom to limit the scopes developers can choose for their OAuth apps to selected scopes. To access all tables exposed by the driver, you need to set the following scopes:
event/attendees:read event/attendees:write event/contacts:read event/contacts:write event/custom-fields:read event/custom-fields:write event/events:read event/events:write event/sessions:delete event/sessions:read event/sessions:write event/speakers:delete event/speakers:read event/speakers:write budget/budget-items:read budget/budget-items:write exhibitor/exhibitors:read exhibitor/exhibitors:write survey/surveys:read survey/surveys:write
Creating an OAuth Application
After you have set up a Workspace and invited them, developers can sign up and create a custom OAuth app. See the Creating a Custom OAuth Application section in the Help documentation for more information.
Connecting to Cvent
After creating an OAuth application, set the following connection properties to connect to Cvent:
- InitiateOAuth: GETANDREFRESH. Used to automatically get and refresh the OAuthAccessToken.
- OAuthClientId: The Client ID associated with the OAuth application. You can find this on the Applications page in the Cvent Developer Portal.
- OAuthClientSecret: The Client secret associated with the OAuth application. You can find this on the Applications page in the Cvent Developer Portal.
- Click Save & Test
-
Navigate to the Permissions tab in the Add Cvent Connection page and update the User-based permissions.
Add a Personal Access Token
When connecting to Connect AI through the REST API, the OData API, or the Virtual SQL Server, a Personal Access Token (PAT) is used to authenticate the connection to Connect AI. It is best practice to create a separate PAT for each service to maintain granularity of access.
- Click on the Gear icon () at the top right of the Connect AI app to open the settings page.
- On the Settings page, go to the Access Tokens section and click Create PAT.
-
Give the PAT a name and click Create.
- The personal access token is only visible at creation, so be sure to copy it and store it securely for future use.
With the connection configured and a PAT generated, you are ready to connect to Cvent data from Airbyte.
Connect to Cvent from Airbyte
To establish a connection from Airbyte to CData Connect AI, follow these steps.
- Log in to your Airbyte account
- On the left panel, click Sources, then Add New Source
- Set Source Type to MSSQL Server to connect the TDS endpoint
- Set Source Name
- Set Host URL to tds.cdata.com
- Set Port to 14333
- Set Database to the name of the connection you previously configured, e.g. Cvent1.
- Set Username to your Connect AI username
- Set SSL Method to Encrypted (trust server certificate), leave the Replication Method as standard, and set SSH Tunnel Method to No Tunnel
- (Optional) Set Schema to anything you want to apply to the source
- Set Password to your Connect AI PAT
- (Optional) Enter any needed JBDC URL Params
- Click Test and Save to create the data source.
Create ELT Pipelines for Cvent Data
To connect Cvent data with a new destination, click Sources and then Set Up Connection to connect to your destination. Select the source created above and your desired destination, then allow Airbyte to process. When it is done, your connection is ready for use.
Get CData Connect AI
To get live data access to 300+ SaaS, Big Data, and NoSQL sources directly from Airbyte, try CData Connect AI today!