# Configure ontology peering After you [establish a peering relationship between two spaces](../create-a-peer-connection/index.md), you can use Peer Manager to create and approve [object type](../../object-link-types/object-types-overview/index.md) mappings which enable you to peer its objects over the connection. :::callout{theme="warning"} To synchronize objects and links through a peering relationship, the object type to peer must exist on both enrollments, and its properties must remain in sync. A peering relationship where properties fall out of sync will be unable to send new object data until the synchronization is restored. Use [Marketplace](../../marketplace/overview/index.md) to create a [product](../../foundry-devops/create-products/index.md) on the source enrollment that contains the object type to peer before deploying the product to the remote enrollment. When schematic changes are made to the object type on the source enrollment, then the remote enrollment can receive those updates through the product's configured [release channel](../../foundry-devops/manage-products/index.md#release-channels).

Review the [core concepts for ontology peering](../ontology-peering-overview/index.md) before you proceed. ::: ## Make the object type available to peer Navigate to Peer Manager and follow the instructions below for *both* the local and remote sides of the peer connection to make the object type available to peer: 1. Choose the relevant peer connection and select the **Ontology** tab from the top of your screen. 2. Select the **Unmapped** tab before choosing **+ Add ontology entities**. 3. Search for and select one or multiple object types you will make available for peering over the connection before choosing **Confirm selection** to launch the **Configure peering permissions** popup window. 4. Optionally change Peer Manager's default peer permissions state, which allows *both* exports and imports of the associated ontology resources' data. If you want to establish a unidirectional object type peering relationship where the local space sends objects to the remote space *without* receiving object edits the remote side makes, then you can select **Imports blocked**. ![Peer permissions are set for resources added to the peer connection.](../../../assets/d1551745424fdb8b3e19c2e824d78aa63b8e8c66187339c7d46cd7cd4f052d46.webp) 5. Select **Add ontology entities** to finish adding the object types to the **Unmapped** section of the **Ontology**. ## Create the object type mapping Once you make the object type available to peer across both sides of the peer connection, you can next follow the instructions below to configure the object type mapping from either side of the relationship: 1. Align the corresponding object types from the **Local ontology** and **Remote ontology** in the **Unmapped** section of the **Ontology** tab. 2. Select **+** on the right side of the **Remote ontology** object type to launch the **Create ontology mapping** popup window. 3. Map the corresponding properties across the local and remote object types in the **Map properties** section. You do not need to map every property; however, you must map any properties you wish to peer over the established connection. ![Create a mapping between local and remote object types in the Create ontology mapping popup window to enable peering between the two.](../../../assets/f516c067a68d6e6a547708feb87099e30a8da128f9ee3cc71723ea0940008f80.webp) 4. Configure the peering relationship's **Source data** and **Actions** directionality in the **Configure peering** section. [Learn more about peer relationship directionality](../ontology-peering-overview/index.md). * **Source data** is the base data for the object type derived from its backing datasources, such as [datasets](../../data-integration/datasets/index.md), [virtual tables](../../data-integration/virtual-tables/index.md), or [restricted views](../../security/restricted-views/index.md). Support for source data peering depends on the type of backing data as well as the environment type. [Learn more about source data peering](../ontology-peering-overview/index.md#source-data-peering). * **Actions** produce data from user edits applied onto **Source data**. In most cases, you should bidirectionally peer **Actions** if edits are enabled for the object type, so you should ensure *both* **Export** and **Import** are selected. 5. Review the configuration for the object type in the **Summary** section and choose **Submit** to save the mapping. Foundry immediately instantiates the peering relationship for your object type after you press submit. You can monitor the connection's health in Peer Manager's **Overview** panel.