> For the complete documentation index, see [llms.txt](https://docs.inogic.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inogic.com/whatsapp4dynamics/chatbot.md).

# ChatBot

**ChatBot** is an **AI-powered conversational assistant** built for Microsoft Dynamics 365 and Dataverse. It helps organizations automate conversations, answer queries using business data, and provide instant support through connected knowledge sources like **Dataverse, SharePoint, websites, uploaded documents, and Azure AI Search.**

It uses both embedding models (for understanding and retrieval) and generative AI models (for response generation) to deliver accurate, contextual, and human-like responses. Businesses can configure agents, knowledge sources, and AI behavior to match their internal processes and communication style.

### Setup & Configuration Steps

Open the ChatBot setup page.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FCJDnNrYFGCzRbdALZ8fN%2F1%20ChatBot%20setup%20page%20%40.png?alt=media&amp;token=ea7d84cf-b570-410f-ac00-e8ce19793b7f" alt=""><figcaption></figcaption></figure>

Click on **Create Azure Resources**. This step provisions required Azure services like search, storage, and supporting infrastructure.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FBVULa6Xk6SUIkano850T%2F2%20click%20on%20create%20azure%20resources.png?alt=media&amp;token=fb01120a-886e-4c4d-b785-78bf66f31d68" alt=""><figcaption></figcaption></figure>

You will be redirected to the Azure portal. Click **Review + Create** to verify all resource settings before deployment.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F4eR2DCxMJxwZQf2iOeko%2F3%20azure%20page%20click%20review%20and%20create.png?alt=media&amp;token=b2e4135d-a214-4534-9948-b4168053218a" alt=""><figcaption></figcaption></figure>

Click **Create** to start provisioning Azure resources for the chatbot.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FRmvMIhNb5u952tMHAs2P%2F4%20click%20on%20create.png?alt=media&amp;token=8b0f9419-58ac-4ff3-81de-32535fc0ee8d" alt=""><figcaption></figcaption></figure>

Azure begins creating resources. Wait until deployment completes successfully.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FuY7phqWUBE1TQvbfPIRp%2F5%20deployment%20in%20progress.png?alt=media&amp;token=e2382a71-ecb2-4cbb-86b1-bc336f772c76" alt=""><figcaption></figcaption></figure>

### Azure Configuration & Connection

After deployment is completed, copy the Azure AI Search service details from Azure.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FcwLwcUV9COeSNmVRk9G7%2F6%20Copy%20search%20service%20details.png?alt=media&amp;token=aaef8427-4e13-4b39-8c67-6a54973cad6b" alt=""><figcaption></figcaption></figure>

Paste these search service details into the ChatBot configuration to connect search indexing.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FVBpQelEwDIMlwD1RQa1S%2F7%20paste%20in%20ChatBot.png?alt=media&amp;token=0fb92333-e4ec-43d7-922b-4e0eaa6f2d8d" alt=""><figcaption></figcaption></figure>

Copy Azure Storage Account details, which will be used for storing chatbot-related files and data.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FCUCrqEm8gj0QaRLXYDFr%2F8%20copy%20azure%20storage%20acc.png?alt=media&amp;token=a0f96979-21e9-4101-b434-4b464dc820e0" alt=""><figcaption></figcaption></figure>

Paste the storage details into the ChatBot and click **Validate** to verify the connection.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FZ0Q4nvU0ngoNwN8Q1TAG%2F9%20paste%20in%20ChatBot%20click%20on%20validate.png?alt=media&amp;token=d761d1d3-6016-434b-865e-6ccb315a079f" alt=""><figcaption></figcaption></figure>

Once validation is successful, the system confirms that Azure services are properly connected.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FOtUSxlHPU03TlPn2Jf2J%2F10%20config%20validated.png?alt=media&amp;token=17165fa5-3817-4dca-a2a0-addc9128c7ca" alt=""><figcaption></figcaption></figure>

### Security & AI Model Setup

Click on **Manage Security Roles** to define who can access and manage chatbot configurations and agents.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2Fwkgllh2W6xgrIqrZjK6E%2F11%20click%20on%20manage%20security%20role.png?alt=media&amp;token=bfc9bd14-f186-4f02-9da3-49e19d607393" alt=""><figcaption></figcaption></figure>

Ensure both required AI models are available:

* **Embedding Model** → used for understanding and retrieving relevant information
* **Generative AI Model** → used for generating responses

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FmZu3BAfOA1PaE8qCpMwB%2F12%20must%20have%20an%20ai%20model%20one%20is%20embedding%20and%20one%20is%20generative%20AI%20type.png?alt=media&amp;token=a2ea8ec2-32ad-4f60-bce2-eef2b13744f1" alt=""><figcaption></figcaption></figure>

### **Agent Creation**

Click **New AI Agent** to create a chatbot instance. Each agent can have its own behavior and knowledge base.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2Fl3BLnS6KkqeUSRJXJKbf%2F13%20click%20new%20agent.png?alt=media&amp;token=ae684b7e-f54f-474b-92aa-68f7447efcac" alt=""><figcaption></figcaption></figure>

The agent configuration form opens where all settings are defined.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F4A1OQPK3AKuH9ngKMr10%2F14%20agent%20form%20will%20open.png?alt=media&amp;token=6ecc1239-4148-43ef-a5a2-f4824ab7d1c0" alt=""><figcaption></figcaption></figure>

Enter agent name and details. Click **Enhance** to automatically improve or refine the system prompt for better AI responses.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FWLH5bY4l3wzmtf13d0nS%2F15%20fill%20all%20details%2C%20click%20on%20enhance%20to%20describe%20prompt.png?alt=media&amp;token=77256c5d-32fc-4bf9-acc7-9b827a4d48ae" alt=""><figcaption></figcaption></figure>

### AI Model Configuration

Go to the **AI Models** tab where AI behavior is configured.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FQrlbzgzpcBUidDf1oTjd%2F16%20go%20to%20AI%20models%20tab.png?alt=media&amp;token=3e2c04fe-5961-4f6a-8732-217032c19243" alt=""><figcaption></figcaption></figure>

Select an existing AI model or create a new one and save it for use.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FLlVRdtmFDn7TFsKjwIHi%2F17%20select%20existing%20model%20or%20else%20click%20on%20new%20model%20and%20save.png?alt=media&amp;token=a82ca11c-826e-40e4-967d-a45a08190eec" alt=""><figcaption></figcaption></figure>

Choose the **WhatsApp4Dynamics configuration** from the dropdown to link chatbot with CRM context.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FkudAdMbxXPoU5dTsmMIq%2F18%20select%20configuration%20w4d%20from%20dropdown.png?alt=media&amp;token=f3ce4d09-978f-4004-8b64-fad00eb97c9f" alt=""><figcaption></figcaption></figure>

Use the preview option to test how the chatbot responds before publishing it live.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F1UWKvdwenuD2p525bXTq%2F19%20you%20can%20test%20from%20preview.png?alt=media&amp;token=fd1f8dc2-b1c2-45c6-8a45-a6f714cf279b" alt=""><figcaption></figcaption></figure>

### Knowledge Source Setup

Click **Add Knowledge Sources** to connect data sources that the chatbot will use for answering questions.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FUTbbde5OdRQbBex9cXjz%2F20%20Click%20on%20add%20knowledge%20souces%20to%20add%20knowledge%20sources..png?alt=media&amp;token=16aad465-ab6f-42ae-b2ba-e1f25599c5aa" alt=""><figcaption></figcaption></figure>

You can choose from multiple source types such as websites, SharePoint, or Dataverse.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F950IrinGOgY1EJ03cbG9%2F21%20multiple%20types%20of%20knowledge%20sources.png?alt=media&amp;token=cb5d7572-2fe0-4f60-a29d-2a3f55424b8f" alt=""><figcaption></figcaption></figure>

### **File Upload Knowledge Source**

Click **Upload File** to add documents like PDFs, Word files, or Excel sheets.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F1RTwKuVJsDcm8cnhBWdQ%2F22%20click%20on%20upload%20file.png?alt=media&amp;token=4a951eed-08a8-4487-b0ec-36b282948734" alt=""><figcaption></figcaption></figure>

Select the required file from your system and upload it into the chatbot.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F697AdVGT9JxZfkWHitoW%2F23%20select%20files%20click%20on%20open%20it%20will%20create%20knowledge%20source.png?alt=media&amp;token=6a226fe1-b617-4122-9893-de53080e874e" alt=""><figcaption></figcaption></figure>

The system automatically processes the file and creates a searchable knowledge source.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FUsZJLRbx1HiL1suGWA5F%2F24%20knowldege%20source%20created%20for%20group%20of%20files.png?alt=media&amp;token=b95d9805-382c-4635-9ac2-7c8e305b3802" alt=""><figcaption></figcaption></figure>

You can remove existing files or add new ones whenever needed.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FVggqxrUZ1c0sooD4TSrT%2F25%20you%20can%20remove%20file%20or%20can%20add%20new%20using%20upload%20file.png?alt=media&amp;token=4d119f44-87fa-4bef-a9b5-5bbb30c86c98" alt=""><figcaption></figcaption></figure>

Upload additional files and click **Upload and Process** so the system indexes the content for AI retrieval.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FO4yoRCg4M2WBuXt9pDFA%2F26%20add%20file%20and%20click%20on%20upload%20and%20process.png?alt=media&amp;token=88de5e14-fdbb-4e24-bc8a-aef00b06ad5b" alt=""><figcaption></figcaption></figure>

### **Website Knowledge Source**

Choose **Public Website** as a knowledge source.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F4CeAbNE3ZetOsGjroocY%2F27%20select%20public%20website%20as%20knowledge%20source.png?alt=media&amp;token=05951059-de2c-4c9b-bd44-72394c09b44b" alt=""><figcaption></figcaption></figure>

A configuration pop-up appears to enter website details.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FC4JsmUsdUwlJxXDkm9rm%2F28%20popup%20will%20open.png?alt=media&amp;token=26b69ae8-9ced-4b62-9963-858842fd9958" alt=""><figcaption></figcaption></figure>

Paste the website URL and click **Add** to include it.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FqFJznaCiwVKeCkHRDhtY%2F29%20enter%20website%20click%20add.png?alt=media&amp;token=357c2922-5ea7-4e18-9930-e74c035285c1" alt=""><figcaption></figcaption></figure>

Enable **Include Subpages** if you want the chatbot to also read linked pages, then click **Add to Agent**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FheTLr5orO90lB64cLk1f%2F30%20click%20on%20include%20subpages%20if%20want%20click%20add%20to%20agent.png?alt=media&amp;token=5d961f69-319b-4e8a-9916-1227ef5ac8f5" alt=""><figcaption></figcaption></figure>

You can later edit, remove, or enhance the description of the website source.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FGatyrgy2xjICMAWBNCgm%2F31%20you%20can%20remove%20and%20enhance%20description.png?alt=media&amp;token=eb33f052-d46a-47a1-a646-05d27744e37e" alt=""><figcaption></figcaption></figure>

You can add multiple websites and update the agent knowledge anytime.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FD3Ijs5egzpJ8bPxhg5SP%2F32%20if%20want%20to%20add%20more%20just%20add%20website%20and%20click%20update.png?alt=media&amp;token=65629291-89ba-45bf-8fab-1f08a39d91ba" alt=""><figcaption></figcaption></figure>

### **SharePoint Knowledge Source**

Choose SharePoint as a knowledge source for internal documents.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F437wzvKwzzaZrexZfzau%2F33%20select%20sharepoint.png?alt=media&amp;token=be412925-a652-4d88-bac7-def5df33c342" alt=""><figcaption></figcaption></figure>

Popup will open. Enter a name for this SharePoint source.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FsGBx5BOwY1YVMCsAiDB6%2F34%20pop%20up%20will%20open%20enter%20name%20for%20knowledge%20source.png?alt=media&amp;token=a5fa0df3-30d9-4fb6-aa95-2b94336daf64" alt=""><figcaption></figcaption></figure>

Open SharePoint and copy the site URL from the browser.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F4XJN168wwPg3BRjJgTFQ%2F35%20open%20sharepoint%20to%20copy%20site%20url.png?alt=media&amp;token=36db11f5-8fe5-48c1-b164-f012f44eaa45" alt=""><figcaption></figcaption></figure>

Choose the relevant chatbot-related SharePoint site.

Copy the full site URL from the browser address bar.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FCnkDDuYI0mDvdstqW8NK%2F36%20copy%20site%20from%20chrome%20url.png?alt=media&amp;token=00e5a110-c5ef-4838-bb3c-ed0c076cd49c" alt=""><figcaption></figcaption></figure>

Paste the SharePoint URL into chatbot configuration.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FzIAqq5lkrgMYq9ktyJq5%2F37%20paste%20url%20in%20chatbot.png?alt=media&amp;token=66ab1eab-0ea7-41ac-9512-d02732e3f5df" alt=""><figcaption></figcaption></figure>

Select the appropriate container type for storing and organizing data.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FIOScn18GgCxyhzhwMiCV%2F38%20select%20container%20type.png?alt=media&amp;token=355e0173-83de-4203-8f2e-ba1cb1cb476d" alt=""><figcaption></figcaption></figure>

### **Azure App Registration Setup**

Go to Azure Portal and open **App Registrations**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FeWymS1AxFhxLpKYwWFYY%2F39%20open%20azure%20portal%20select%20app%20registration.png?alt=media&amp;token=3e44b5d5-603d-4f31-9448-0dd541a5f9f1" alt=""><figcaption></figcaption></figure>

Find the required registered application and open it.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FxXHLCsQGAeWSS1OcYJxH%2F40%20search%20app%20and%20open%20app.png?alt=media&amp;token=e6d5626c-04a9-4d53-bcc5-00f1c29300ce" alt=""><figcaption></figcaption></figure>

Copy the **Application (Client) ID** from Azure.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FIlA3xFJNKpyqEr006eCq%2F41%20copy%20client%20id.png?alt=media&amp;token=5798744a-6a3b-4000-aff5-9bdcb8c5c055" alt=""><figcaption></figcaption></figure>

Paste it into the chatbot configuration.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FSBMcwwTEuzcyRGMKXBKz%2F42%20paste%20client%20id%20in%20chatbot.png?alt=media&amp;token=53d917bf-df0b-4d98-aa55-86556ee2d161" alt=""><figcaption></figcaption></figure>

&#x20;Copy the client secret key from Azure.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FhgNe9Ne3tx99csBraYKX%2F43%20copy%20key.png?alt=media&amp;token=9e26a149-fbad-484f-9861-dc7e43e8963f" alt=""><figcaption></figcaption></figure>

Paste the key into the chatbot and click **Add to Agent** to connect Azure authentication.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F5aAj6j7EPkDOMV4JhtsH%2F44%20paste%20in%20ChatBot%20click%20add%20to%20agent.png?alt=media&amp;token=893ef544-4bfa-491e-b6c7-3d8fd1efbce3" alt=""><figcaption></figcaption></figure>

### **Dataverse Knowledge Source**

Choose Dataverse as a knowledge source to use CRM data.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FIdFmBNHqt901wKMdBgTk%2F45%20select%20Dataverse%20option%20to%20create%20knowledge%20source.png?alt=media&amp;token=39ccf72a-05e4-44d1-9e89-e49b42d877ff" alt=""><figcaption></figcaption></figure>

Select the required entity and give a meaningful name to the knowledge source.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FYymrlE0yVHGBc1iYjKKt%2F46%20select%20entity%20and%20give%20name%20to%20knowledge%20source.png?alt=media&amp;token=c5d36e20-6a05-4c54-aff5-d59814c70119" alt=""><figcaption></figcaption></figure>

Choose which entity fields should be used for chatbot search and responses.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F3pn3Cj5JEUoIP4Y5eY41%2F47%20select%20entity%20fields%20for%20knowledge%20source.png?alt=media&amp;token=c9a2c365-322f-4a30-88c8-2a1408ccffdc" alt=""><figcaption></figcaption></figure>

Select the field that uniquely identifies customers (like phone).

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FCo5VanjgxbbgzjRkx1Ra%2F48%20select%20customer%20identifier%20field.png?alt=media&amp;token=d3bb8761-2fa9-49fe-bed9-30a655cb52ef" alt=""><figcaption></figcaption></figure>

Confirm selections and click **Add to Agent** to connect Dataverse data.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FmiSc6HyutlSjpoHZbtLG%2F49%20select%20both%20options%20and%20add%20to%20agent.png?alt=media&amp;token=566cf329-3af4-4b2e-be76-dcbeba7f9f0a" alt=""><figcaption></figcaption></figure>

### **Publishing Agent**

Click **Publish** to make the chatbot live and available for users.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2Fbkg5zVM1oML6vVa1Gf0t%2F50%20click%20on%20publish%20to%20publish%20agent.png?alt=media&amp;token=b17f2fef-9ae4-4bb3-b1f3-73e7d7a9e28b" alt=""><figcaption></figcaption></figure>

System confirms that the agent has been successfully published.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FbltqVam8Nl9PHRCYEZa2%2F51%20successfully%20published.png?alt=media&amp;token=7f4819b3-824d-4cc9-ab73-d43e507c8d95" alt=""><figcaption></figcaption></figure>

### Agent Management

You can edit the agent anytime, which moves it back to draft mode for updates.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FQd8EyO1Kx0Ek0xYbkOrq%2F52%20click%20on%20edit%20agent%20will%20be%20draft%20to%20edit.png?alt=media&amp;token=e2b5cf4d-1faf-4b00-8b9a-44f9da52a5b0" alt=""><figcaption></figcaption></figure>

All created agents are visible in a grid view where they can be managed, edited, or monitored.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FGUW4zUsHXE0soS4A8zuw%2F53%20multiple%20agents%20grid.png?alt=media&amp;token=d1e5f6b8-0811-4e63-9076-ac7711c9aa5f" alt=""><figcaption></figcaption></figure>
