# Demo on Integrating external policies using UI

1. [Step By Step Process](#id-1.-step-by-step-process)
2. Demo Video

## 1. Step By Step Process

Here are the following steps to Integrate external policies as data sources:

1. Need to enter topicId, for which needs to be integrated to the policy:

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-c3d8ec6e921a0a602a03bbafb0cbe3b5ef885cfd%2Fimage%20(2).png?alt=media" alt=""><figcaption></figcaption></figure>

2. Once the topicID is entered, second step is to display the policy information associated with the entered topic.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-f98b78551425cbfb84bb3f51e7d5555a4e059f63%2Fimage%20(5)%20(9).png?alt=media" alt=""><figcaption></figcaption></figure>

3. Once, policy information is reviewed and confirmed, third step is to select the schemas/documents from the policy to be integrated.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-875663673a747e3c8ad2d5ab8c9f2bc893e54c8e%2Fimage%20(3).png?alt=media" alt=""><figcaption></figcaption></figure>

4. This is the final step which confirms the linking of the policies via their documents.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-a58d81b67f509a9a6dbd22c28ce7f0bf87fbcfdc%2Fimage%20(16)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:** Documents between the policies are synchronized automatically. Additionally, it can also be synced by clicking on sync button as shown below:
{% endhint %}

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-00f5f84117246d19bbfb08e859fd8fbb59caf52d%2Fimage%20(34)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

## 2. Demo Video

[Youtube](https://youtu.be/sJFfkQ49JnI?si=EfEai3PrVenWg4ll\&t=567)
