This is the Talend Data Integration Cloud series. This tutorial will focus on adding context parameters to a Job. Let’s get started.

Imagine I need to extract customer royalties from an updated file located in another Dropbox account. To do so, I have to replace the hard-coded access token value with a context connection parameter and publish the update to the cloud.

Creating a context parameter

Our first step is creating our context parameters in studio.

Within my Job, I’ll select the Context tab. I can create a new variable by clicking the small plus icon at the bottom left corner.

I need to follow a predefined naming standard when labeling my context variables for execution in the cloud. I want to find the value here because I want to define it at runtime within the cloud.

I then need to double click my tDropboxConnection component and set the context parameter in the access token field. I’ll first enter CON, then hit Control+Space to reveal my options, and I’ll select the one I need.

Now that my studio Job is complete, I will save my changes.

Defining a connection

Now let’s move to the Talend integration web application to define a connection to be able to run our Job once it’s published.

From my Manage page, I’ll head to my connections. I’ll click Add Connection, and here are my available applications.

I’ll select the Dropbox application. I’ll enter a connection name and my Dropbox access token. Finally, I’ll click Create, and my connection is created.

These different connections allow me to run the same Job on different Dropbox accounts if I want. Back in studio I’ll now republish the Job to the cloud so that the web users are able to extract the customer royalties from any Dropbox application they have set a connection to.

The update corresponding Job flow checkbox is selected to automatically update the Job in the Talend Integration web application with the current version of the Job, without creating a new one. And the Job is published to the cloud.

Let’s check it out within the Talend Cloud web application, and selecting my new connection, let’s test it. The test produced no issues. So, let’s click Go Live and go.

The Job is successfully executed within the selected Dropbox connection. Next, we’ll look at how to define metadata on your Jobs to help in the cloud.