# Demo on Integrating external policies using UI

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://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2F9yEUyKU4O1KrBz9Bs8dE%2Fimage.png?alt=media&#x26;token=7ad6485f-470e-4070-aa21-dd4d56518ece" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2F6qav4NkuYY1NC1V9BqGx%2Fimage.png?alt=media&#x26;token=6f820e1c-8e7c-4418-a65f-f7aaed3ce869" 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://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FTVx1Kk6q3pafffWuR5KP%2Fimage.png?alt=media&#x26;token=81ef0a8f-9373-43d5-acf4-658411430b3a" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FIfepVKZyxZqesUsrYtJi%2Fimage.png?alt=media&#x26;token=cfc5d59f-f2db-4062-b596-03e1fa26f773" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2F3qNW5KHaUyhynBcVBHUQ%2Fimage.png?alt=media&#x26;token=16e2589e-2bf0-4315-9e4a-2ceb3bb2b625" alt=""><figcaption></figcaption></figure>
