IBM App Connect passes key data between IBM Cloud Object Storage and other apps – automatically, in real time.

You can use App Connect to connect IBM Cloud Object Storage to your apps by mapping data graphically – without the need for coding – meaning that you can achieve a return on your investment in minutes or hours, not days or months.

If you can’t find what you want, or have comments about the “how to” information, please either add comments to the bottom of this page or .

About IBM Cloud Object Storage (COS) S3

IBM Cloud Object Storage (COS) S3 is ideal for holding large amounts of colder production data, such as backups and archives, and very large individual files, such as video files, image files, and genomic data. IBM’s Cloud Object Storage S3 is a reliable, durable, and resilient object storage.

Scenario:

Say you are using Salesforce to manage customers and use IBM Cloud Storage to store some related documents. You also use Dropbox to share files in folders specific to users. When a new contact is created, you want to create a folder on your Dropbox and as a first step, send a “Getting Started” document to this contact. The “Getting Started” manual is a PDF file stored in your IBM Cloud Object Storage account.

Event-Driven flow to download a document from IBM Cloud Object Storage when a new contact is created in Salesforce and upload that document to Dropbox. (Click image to view full size.)

What should I consider first?

To connect to an IBM Cloud Object Storage account, you need the following values that you can get from the “Endpoint” and “Service Credentials” pages in the side navigation of your IBM Cloud Object Storage dashboard:

Endpoint URL        COS Endpoint / PUBLIC or PRIVATE URL value for your region; for example, s3-api.us-geo.objectstorage.softlayer.net (PUBLIC for us-geo region)
Secret Access Key   COS Service credentials / View credential (with HMAC) / cos_hmac_keys/ secret_access_key
Access Key ID       COS Service credentials / View credential (with HMAC) / cos_hmac_keys / access_key_id
Region              COS Endpoint / Select Location value; for example, us-geo

Note: To get a Secret Access key and Access Key ID, you need to have a credential created with the option to generate HMAC credentials. (When adding a new credential, specify {"HMAC":true} in the field “Add Inline Configuration Parameters (Optional):”. For more information, see doc link after examples).

For example:

Credential with HMAC keys on IBM Cloud Object Storage console. (Click image to view full size.)

In App Connect, when creating a connection to IBM Cloud Object Storage:

Endpoint URL        s3-api.us-geo.objectstorage.softlayer.net
Secret Access Key   12e3f4b56b780503172f70fdb2d1605a5dcfaf834d896c42
Access Key ID       1234eeaa5ce67e2a89f52bc33f6a172d
Region              us-geo

For information about determining these values and about generating HMAC credentials, see “Service credentials” in IBM Cloud Docs / Cloud Object Storage.

Example

Creating an event-driven flow to download a file from IBM Cloud Object Storage to a Dropbox folder

Learn how to use IBM App Connect on IBM Cloud to create an event-driven flow such that when a new contact is created in Salesforce, a “Getting Started” document is automatically downloaded from IBM Cloud Object Storage and then sent to a specific folder in Dropbox.

Join The Discussion

Your email address will not be published. Required fields are marked *