CLAIRE Copilot for Data Integration > Using CLAIRE Copilot with Data Ingestion and Replication > Application Ingestion and Replication examples of creating a task
  

Application Ingestion and Replication examples of creating a task

Let's look at some examples of configuring an application ingestion and replication task in CLAIRE Copilot.

Example: Create an application ingestion task for an combined load from Salesforce to Amazon S3

You want to replicate Salesforce data changes continuously to an Amazon S3 target to make sure downstream applications get the latest customer information.
To do this, let's create an application ingestion and replication combined load task in CLAIRE Copilot
  1. 1Open CLAIRE Copilot.
  2. 2In the Ask CLAIRE box, type the prompt Create a combined load task that has a Salesforce source and Amazon S3 target. Then click the Submit icon.
  3. A list of Amazon S3 target connections available in your organization appears:
  4. List of Amazon S3 connections to choose from.
  5. Note: Up to five connections are listed.
  6. 3Type the number associated with the Amazon S3 target connection you want to use, or if the connection isn't listed, you can type the name of a valid connection that you've previously tested. In this example, let's type 1 for the AIN_S3 target connection. Then click the Submit button.
  7. A list of Salesforce source connections available in your organization appears:
  8. List of Salesforce connections to choose from.
  9. 4Type 2 for the salesforce_CMI source connection and then click the Submit button.
  10. 5If a request for a runtime environment appears, type @ to list runtime environments. Then click a running runtime environment and click the Submit icon.
  11. This step is skipped if you previously set a default runtime environment for your use.
  12. 6At the request for the source objects, type "select all" to select all source objects, or enter object names or name masks with wildcards.
  13. In this example, let's select tables with names starting with "A" and exclude any tables with names starting with "AC":
  14. Select tables staring with A but exclude any staring with AC
  15. 7A task summary appears. Review the summary to confirm your settings: correct:
  16. 8To create the task asset, click Yes.
  17. The task is generated and opens in the task configuration wizard.
  18. 9Verify the task definition. You can edit field values and set additional fields on the Task Details, Transform, and Let's Go pages. Toggle on Show Advanced Options to see all fields. However, do not change the source and target connections.
  19. 10Save the task.
  20. 11Deploy the task to create a job instance.
  21. You can now run the job from My Jobs or another monitoring interface.

Example: Create an application ingestion task for an incremental load from Salesforce to Kafka

You want to replicate change data from a Salesforce source to a Kafka messaging system in real time. Kafka can then stream the data with low latency to downstream consumer applications.
To do this, let's create an application ingestion and replication incremental load task in CLAIRE Copilot. Since we know the source and target connection names, we'll include them in the first prompt to streamline the process.
  1. 1Open CLAIRE Copilot.
  2. 2In the Ask CLAIRE box, type the prompt Create an incremental load task that has a Salesforce source that uses the salesforce_CMI connection and a Kafka target that uses the Kafka1 connection. Select all source objects. Then click the Submit icon.
  3. A list of your settings is displayed:
  4. List of your selections.
  5. 3Because no further information is required, the task summary is displayed.
  6. Review it to ensure the task is properly configured.
  7. Summary of your task definition.
  8. 4To create the task asset, click Yes.
  9. The task is generated and opens in the task configuration wizard.
  10. 5Verify the task definition. You can edit field values and set additional fields on the Task Details, Transform, and Let's Go pages. Toggle on Show Advanced Options to see all fields. However, do not change the source and target connections.
  11. On the Let's Go page, you can enter a custom name and description for the task and your project location so that you can find the task again easily.
  12. 6Save the task.
  13. 7Deploy the task to create a job instance.
  14. You can now run the job from My Jobs.