Establishing a Connection
Enabling SSIS in Visual Studio 2022
If you're using Visual Studio 2022, you will need to install the SQL Server Integration Services Projects extension to use SSIS.
- Navigate to Extensions > Manage Extensions.
- In the Manage Extensions window's search box, search for "SQL Server Integration Services Projects 2022" and select the extension in the list.
- Click Download.
- Close Visual Studio and run the downloaded Microsoft.DataTools.IntegrationServices.exe installer. Proceed through the installer with default settings.
- Open Visual Studio. There should now be an "Integration Services Project" project template available.
Adding the Smartsheet Connection Manager
Create a new connection manager as follows:
- Create a Visual Studio project with the "Integration Services Project" template.
- In the project, right-click within the Connection Managers window and select New Connection from the menu.
- In the Description column, select CData Smartsheet Connection Manager and click Add...
- Configure the component as described in the next section.
Alternatively, if you have an existing project and CData Smartsheet Source or CData Smartsheet Destination:
- Right-click your CData Smartsheet source or destination component in your data flow
- Select Edit... to open an editor window.
- Click the New... button next to the Connection manager: dropdown selector to create a connection manager.
- Configure the component as described in the next section.
Connecting to Smartsheet
Smartsheet supports connections via the following authentication methods:
- Using the Personal Access Token
Personal Access Token
Use the personal token to test and to access your own data. To obtain the personal token, follow the steps below:
- Log into Smartsheet.
- Click Account and select Personal Settings.
- Click API Access and use the form to generate new access tokens or manage existing access tokens.
Synch Connections
Before you connect, set the following variables:- OAuthClientId: The client Id assigned when you registered your custom OAuth application.
- OAuthClientSecret: The client secret assigned when you registered your custom OAuth application.
Click Connect to Smartsheet to open the OAuth endpoint in your default browser. Log in and grant permissions to the application.
The driver then completes the OAuth process as follows:
- Extracts the access token from the callback URL.
- Obtains a new access token when the old one expires.
- Saves OAuth values so that they persist across connections.