I want to upload external data csv file to Salesforce Wave Analytics using External Data API and Web Services Connector (WSC).

I have connected to salesforce using below code:

ConnectorConfig config = new ConnectorConfig();
PartnerConnection partnerConnection = new PartnerConnection(config);

Now, I need to upload external data csv and dataflow to salesforce analytics using API.

Does anyone have an example of how to upload data into the Saleforce Analytics Cloud.

Any help would be appreciated.

3 Answers 3


The documentation provides an example.

After you have established the PartnerConnection, which you have done, the remaining steps are to:

  1. Configure the Upload Setup the InsightsExternalData header with details about the upload. A name for the dataset, what operation to perform on the data.
  2. Add the Data Chunk the Data up in 10 MB chunks.
  3. Manage the Upload Set the Action to Process to get things going.

You can also find here a tools on git that is implementing this API: https://github.com/forcedotcom/Analytics-Cloud-Dataset-Utils


U can find this by this link.. https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_ext_data.meta/bi_dev_guide_ext_data/bi_ext_data_overview.htm

Thanks and regards Tanushree

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .