Log in to the LinkedIn Developer Portal, and click Create App.
You'll be asked to provide basic details about your app, including your:
- App name
- Business email
- App logo
You'll also need to select the products you'd like to add/integrate into your app. By default, you'll get the abilities to Share on LinkedIn and Sign In with LinkedIn. You can, however, also use the Marketing Developer Platform.
Indicate that you agree to LinkedIn's legal terms, and click Create App.
Finally, you need verify the app.
In the app settings tab you should see your company with a verify button. Clicking this will provide you a link which your LinkedIn Page Admin (whoever that might be) will use to verify the account.
2. Obtaining and Entering credentials into the LinkedIn driver.
In this section we'll be building the connection string to be used later when setting up the data source connection.
Locate the LinkedIn driver cdata.jdbc.linkedin.jar here:
Double click the driver and it should open the drivers connection properties. If clicking doesn't work for you, you can do this via command line.
Navigate to the drivers folder and run command "java -jar cdata.jdbc.linkedin.jar"
Scroll to the OAuth section of the connection properties and begin filling in the appropriate fields.
6600 is the default port for v.10 adjust accordingly.
OAuth Access Token
Client ID and Client Secret
These can be found in the Auth tab of the API app created in Step 1. While in the Auth tab you can enter in the Redirect URL at the bottom under OAuth 2.0 Settings.
Set Initial OAuth to GETANDREFRESH
Same as the callback URL
Once these fields are filled in click Test Connection.
When your test comes back successful, click Copy to Clipboard to copy the connection string you created in the text box.
Paste the connection string into a text file to use in the final steps.
3. Creating the Data Source Connection
- Log into either the Datahub or the Admin console > Data Sources Tab > New
- Data Source Type: Generic JDBC
- Give the Data Source a name
- Database URL*: Enter in the connection string you created in Step 2
- JDBC Driver Class: cdata.jdbc.linkedin.LinkedInDriver