1.2.1 Getting started with Workfront Fusion

Learn how to use Workfront Fusion and Adobe I/O to query Adobe Firefly Services APIs.

1.2.1.1 Create new scenario

Go to https://experience.adobe.com/. Open Workfront Fusion.

WF Fusion

Go to Scenarios.

WF Fusion

Click the + icon to create a new folder for your work.

WF Fusion

Name the folder --aepUserLdap-- and select Save.

WF Fusion

Select your folder, and then select Create new scenario.

WF Fusion

An empty scenario appears, select tools and select Set multiple variables.

WF Fusion

Move the clock icon onto the newly added Set multiple variables.

WF Fusion

Your screen should look like this.

WF Fusion

Right-click on the question mark and select Delete module.

WF Fusion

Next, right-click on Set multiple variables and select Settings.

WF Fusion

1.2.1.2 Configure Adobe I/O authentication

You now need to configure the variables that are needed to authenticate against Adobe I/O. In the previous exercise, you created an Adobe I/O project. The variables of that Adobe I/O project now need to be defined in Workfront Fusion.

The following variables need to be defined:

Key
Value
CONST_client_id
your Adobe I/O project Client ID
CONST_client_secret
your Adobe I/O project Client Secret
CONST_scope
your Adobe I/O project Scope

Find these variables by going to https://developer.adobe.com/console/projects and opening your Adobe I/O project, which is named --aepUserLdap-- One Adobe tutorial.

WF Fusion

In your project, select OAuth Serverto-Server to see the values for the above keys.

WF Fusion

Using the above keys and values, you can configure the Set multiple variables object. Select Add item.

WF Fusion

Enter the Variable name: CONST_client_id and its Variable value, select Add.

WF Fusion

Select Add item.

WF Fusion

Enter Variable name: CONST_client_secret and its Variable value, select Add.

WF Fusion

Select Add item.

WF Fusion

Enter Variable name: CONST_scope and its Variable value, select Add.

WF Fusion

Select OK.

WF Fusion

Hover over Set multiple variables and select the big + icon to add another module.

WF Fusion

Your screen should look like this.

WF Fusion

In the search bar, enter http. Select HTTP to open it.

WF Fusion

Select Make a request.

WF Fusion

Key
Value
URL
https://ims-na1.adobelogin.com/ims/token/v3
Method
POST
Body Type
x-www-form-urlencoded

Select Add item.

WF Fusion

Add items for each of the below values:

Key
Value
client_id
your predefined variable for CONST_client_id
client_secret
your predefined variable for CONST_client_secret
scope
your predefined variable for CONST_scope
grant_type
client_credentials

Configuration for client_id:

WF Fusion

Configuration for client_secret.

WF Fusion

Configuration for scope.

WF Fusion

Configuration for grant_type.

WF Fusion

Scroll down and check the box for Parse response. Select OK.

WF Fusion

Your screen should look like this. Select Run once.

WF Fusion

Once the scenario has run, your screen should look like this:

WF Fusion

Select the question mark icon on the Set multiple variables object to see what happened when that object ran.

WF Fusion

Select the question mark icon on the HTTP - Make a request object to see what happened when that object ran. In the OUTPUT, see the access_token being returned by Adobe I/O.

WF Fusion

Hover over HTTP - Make a request and select the + icon to add another module.

WF Fusion

In the search bar, search for tools. Select Tools.

WF Fusion

Select Set multiple variables.

WF Fusion

Select Add item.

WF Fusion

Set Variable name to bearer_token. Select access_token as the dynamic Variable value. Select Add.

WF Fusion

Your screen should look like this. Select OK.

WF Fusion

Select Run once again.

WF Fusion

Once the scenario runs, select the question mark icon on the last Set multiple variables object. You should see that the access_token is being stored in the variable bearer_token.

WF Fusion

Next, right-click on the first object Set multiple values and select Rename.

WF Fusion

Set the name to Initialize Constants. Select OK.

WF Fusion

Rename the second object to Authenticate to Adobe I/O. Select OK.

WF Fusion

Rename the third object to Set Bearer Token. Select OK.

WF Fusion

Your screen should look like this:

WF Fusion

Next, change the name of your scenario to --aepUserLdap-- - Adobe I/O Authentication.

WF Fusion

Select Save.

WF Fusion

Next Steps

Go to Use Adobe APIs within Workfront Fusion

Go back to Creative Workflow Automation with Workfront Fusion

Go back to All Modules

recommendation-more-help
4bbf020c-24db-4a43-b239-88fab142f02d