How to Import Cvent Data into SQL Server using SSIS



Easily back up Cvent data to SQL Server using the SSIS components for Cvent.

Using SQL Server as a backup for critical business data provides an essential safety net against loss. Backing up data to SQL Server enables business users to more easily connect that data with features like reporting, analytics, and more.

This example demonstrates how to use the CData SSIS Tasks for Cvent inside of a SQL Server SSIS workflow to transfer Cvent data into a Microsoft SQL Server database.

Add the Components

To get started, add a new Cvent source and SQL Server ADO.NET destination to a new data flow task.

Create a New Connection Manager

Follow the steps below to save Cvent connection properties in a connection manager.

  1. In the Connection Manager window, right-click and then click New Connection. The Add SSIS Connection Manager dialog is displayed.
  2. In the Connection Manager type menu, select Cvent. The CData Cvent Connection Manager is displayed.
  3. Configure connection properties.

    Before you can authenticate to Cvent, you must create a workspace and an OAuth application.

    Creating a Workspace

    To create a workspace:

    1. Sign into Cvent and navigate to App Switcher (the blue button in the upper right corner of the page) >> Admin.
    2. In the Admin menu, navigate to Integrations >> REST API.
    3. A new tab launches for Developer Management. Click on Manage API Access in the new tab.
    4. 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:readevent/attendees:writeevent/contacts:read
        event/contacts:writeevent/custom-fields:readevent/custom-fields:write
        event/events:readevent/events:writeevent/sessions:delete
        event/sessions:readevent/sessions:writeevent/speakers:delete
        event/speakers:readevent/speakers:writebudget/budget-items:read
        budget/budget-items:writeexhibitor/exhibitors:readexhibitor/exhibitors:write
        survey/surveys:readsurvey/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.

Configure the Cvent Source

Follow the steps below to specify the query to be used to extract Cvent data.

  1. Double-click the Cvent source to open the source component editor.
  2. In the Connection Manager menu, select the connection manager previously created.
  3. Specify the query to use for the data extraction. For example: SELECT Id, Title FROM Events WHERE Virtual = 'true'
  4. Close the Cvent Source control and connect it to the ADO.NET Destination.

Configure the SQL Server Destination

Follow the steps below to specify the SQL server table to load the Cvent data into.

  1. Open the ADO.NET Destination and add a New Connection. Enter your server and database information here.
  2. In the Data access mode menu, select "table or view".
  3. In the Table Or View menu, select the table or view to populate.
  4. Configure any properties you wish to on the Mappings screen.

Run the Project

You can now run the project. After the SSIS Task has finished executing, your database will be populated with Cvent data.

Ready to get started?

Download a free trial of the Cvent SSIS Component to get started:

 Download Now

Learn more:

Cvent Icon Cvent SSIS Components

Powerful SSIS Source & Destination Components that allows you to easily connect SQL Server with Cvent through SSIS Workflows.

Use the Cvent Data Flow Components to synchronize with Cvent 0, and more. Perfect for data synchronization, local back-ups, workflow automation, and more!