# Objects

### To Sync Salesforce Health Cloud Objects to Database <a href="#objectssetupprocess-tosyncsalesforcehealthcloudobjectstodatabase" id="objectssetupprocess-tosyncsalesforcehealthcloudobjectstodatabase"></a>

Follow the below mentioned steps to sync the objects to your database from Salesforce Health Cloud instance:

* Ensure you are connected to your Salesforce Health Cloud and Database instances and verify the connection.&#x20;
* Click 'Objects' from the top navigation toolbar to select objects to replicate.
* Select any "source apps objects" you want to sync into the database from the left objects section.
* Select the object fields you want to sync into the database from the "Available Fields" section and use the "exclude fields" section to filter out fields you don't want to sync into the database
* Click the RUN button to run the configuration for the Salesforce Health Cloud object.
* Choose any of the 4 functions to perform:

| Run Process     | Actions Performed                                                                                                                     |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| Update Schema   | Creates source apps schema into database for the selected source apps objects.                                                        |
| Clean Copy      | Inserts a clean copy of Salesforce Health Cloud object records into respective database tables & columns.                             |
| Source to DB    | Performs incremental sync from Salesforce Health Cloud to the database based on the changes/edits made in the Salesforce Health Cloud |
| DB to Source    | Performs incremental sync from Database to the Salesforce Health Cloud based on the changes/edits made in the Database                |
| Metadata Backup | Backs up your metadata for the objects selected from you Salesforce Health Cloud instance                                             |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mydbsync.com/cloud-replication-main/v7/salesforce-healthcloud-replication/running-salesforce-health-cloud-replication/objects.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
