# Complete the Agent Configuration Setup

Once the flows are enabled, open the **InoWiz Agent** again. This time, you will be prompted to complete the **Configuration Setup.** The setup consists of three groups:

<div data-with-frame="true"><figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FN0j1Q9QcMoHn2qAAcrY9%2FPicture26-updated.png?alt=media&#x26;token=63b482dd-bd53-42b1-95b8-ce34d083c4c3" alt=""><figcaption></figcaption></figure></div>

<div data-with-frame="true"><figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FlTKoiETV7Fd7xJSEabeb%2FPicture27-updated.png?alt=media&#x26;token=9b236a9c-8d2e-4621-8b75-0c6c443232b5" alt=""><figcaption></figcaption></figure></div>

**a) Azure AI Search Configuration**<br>

* Service Name → The name of the Azure AI Search service created in Step 1.
* API Key → Found in the Azure AI Search service under Settings → Keys. Copy either the Primary Admin Key or Secondary Admin Key.

<div data-with-frame="true"><figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FfVvrS0GsTVF3altdmNKa%2FPicture28.png?alt=media&#x26;token=20759087-daac-4af4-b26a-b381ff320755" alt=""><figcaption></figcaption></figure></div>

* Index Name → Enter the index name you created via the Postman collection.
* Indexer Name → Enter the indexer name you created via the Postman collection.

**b) Authentication Configuration**

* **Tenant ID** → Found in the Azure portal in the Microsoft Entra ID section.

<div data-with-frame="true"><figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FCZXpt7UQTyYTIXHYnrTE%2FPicture29.png?alt=media&#x26;token=9acf55d1-3bdc-4d40-b27a-8a98a645db3e" alt=""><figcaption></figcaption></figure></div>

* **Client ID →** From the App Registration details, search for your app name which you created in step 2

<div data-with-frame="true"><figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FOVvSjCOsv9BNIN46M804%2FPicture31-edited.png?alt=media&#x26;token=9abbc6e8-9deb-4070-b59c-5bcf44123c35" alt=""><figcaption></figcaption></figure></div>

* **Client Secret →** The secret generated in the App Registration, which you can find in the Client and Secret section.

<div data-with-frame="true"><figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FmCIxT1Z37ccFhIS6d2fR%2FPicture32-edited.png?alt=media&#x26;token=a5b04118-569f-48d4-b235-7537bb53e0bb" alt=""><figcaption></figcaption></figure></div>

**c) SharePoint Configuration**

* SharePoint Domain → Example: yourdomain.sharepoint.com

<div data-with-frame="true"><figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FWKSBqWukjjHiLdAP1uQi%2FPicture33-edited.png?alt=media&#x26;token=89c7d20e-41a3-44a1-a759-a956532d4756" alt=""><figcaption></figcaption></figure></div>

* **SharePoint Site Name** → The site name where all the documents you have stored.

<div data-with-frame="true"><figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2Fuj6R8tieMcyvN8p3L2s4%2FPicture34-edited.png?alt=media&#x26;token=e2b9f945-f018-465a-a3d8-77bed48c03b1" alt=""><figcaption></figcaption></figure></div>

* **Libraries →** Provide a comma-separated list of document libraries you want to configure.\
  These can be found by navigating to your SharePoint site, and copying the names of the libraries.

Once all required input values (Azure AI Search, Authentication, and SharePoint details) are provided, click Save Configuration.

<div data-with-frame="true"><figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FFd3Ul6ML0U7v88NEQKIe%2Fimage.png?alt=media&#x26;token=6810051b-6cbf-496b-93c4-77ee47abb225" alt=""><figcaption></figcaption></figure></div>

This will create an Azure AI Search connection in the backend and finalize the setup.

{% hint style="success" %}
For further queries, reach out to us at <crm@inogic.com>
{% endhint %}
