![]() |
VOOZH | about |
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 CircleCI inside of a SQL Server SSIS workflow to transfer CircleCI data into a Microsoft SQL Server database.
To get started, add a new CircleCI source and SQL Server ADO.NET destination to a new data flow task.
๐ The Data Flow task used in this example. (Salesforce is shown.)Follow the steps below to save CircleCI connection properties in a connection manager.
CircleCI uses personal API tokens to authenticate API requests. To generate a personal API token, log in to your CircleCI account, navigate to User Settings > Personal API Tokens, and click Create New Token. Copy the token value immediately as it is only shown once.
After setting the following connection properties, you are ready to connect:
Profile=C:\profiles\CircleCI.apip;AuthScheme=APIKey;ProfileSettings='APIKey=your_personal_api_token';๐ Configuring a connection (Salesforce is shown).
Follow the steps below to specify the query to be used to extract CircleCI data.
SELECT , FROM Artifacts WHERE ProjectSlug = 'github/MyOrg/my-repo'๐ The SQL query to retrieve records. (Salesforce is shown.)
Follow the steps below to specify the SQL server table to load the CircleCI data into.
You can now run the project. After the SSIS Task has finished executing, your database will be populated with CircleCI data.
๐ The completed import. (Salesforce is shown.)Connect to live data from CircleCI with the API Driver
Connect to CircleCI