{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":6218,"path":"customer-service-management/csm-config-workspace-ai-search.md","title":"Using AI Search with CRM Workspace","bundle":null,"doc_type":null,"release":"australia","body":"\n# Using AI Search with CRM Workspace\n\nUse the ServiceNow® AI Search application with CRM Workspace.\n\nStarting with the Utah release, the [AI Search](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/overview-ais.md) application replaces the Zing search application for CRM Workspace. To support this feature, the Zing search configurations have been migrated to AI Search.\n\nUse the Unified Navigation search field in CRM Workspace to search for information. You can switch between global search results and results from the **CSM/FSM Configurable Workspace** workspace application. The different search configurations are based on different tables.\n\nFor more information about using AI Search with CRM Workspace, see [AI Search for Next Experience](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/ais-next-experience-app.md).\n\n## Search application configurations\n\nA search application configuration specifies the search engine and the settings to use for search in a ServiceNow AI Platform application. The **\\[CSM AIS\\] Configurable Workspace Search Config** search application configuration is provided with the CSM Configurable Workspace store app.\n\nTo access this configuration, navigate to **AI Search** &gt; **Search Experience** &gt; **Search Applications**.\n\n## AI Search indexed sources\n\nIndexed sources reflect what content users are able to search on. The CSM Configurable Workspace store app adds AI Search indexed sources for the following tables:\n\n-   Account \\[customer\\_account\\]\n-   Case \\[sn\\_customerservice\\_case\\]\n-   Consumer \\[csm\\_consumer\\]\n-   Contact \\[customer\\_contact\\]\n-   Order Line Item \\[csm\\_order\\_line\\_item\\]\n-   Order \\[csm\\_order\\]\n-   Catalog item \\[sc\\_cat\\_item\\]\n\n## Navigation tabs\n\nNavigation tabs appear at the top of the search results page and are static filter options that you can use to filter the results by indexed source. The **\\[CSM AIS\\] Configurable Workspace Search Config** search application configuration includes the following navigation tabs:\n\n-   All\n-   Cases\n-   Accounts\n-   Contacts\n-   Consumers\n-   Orders\n-   Order Line Items\n-   Locations\n\nFor information about creating navigation tabs, see [Configure navigation tabs in an AI Search application configuration](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/config-nav-tabs-ais.md).\n\n## Facets\n\nFacets are dynamic filter options that you can use to refine the search results by field value. The **\\[CSM AIS\\] Configurable Workspace Search Config** search application configuration includes the following facets:\n\n-   State\n-   Priority\n-   Assignment Group\n-   Product\n-   Account\n-   Contact\n-   Consumer\n-   Needs Attention\n-   Action Status\n-   Channel\n-   Active Escalation\n\nFor information about creating facets, see [Create a facet in an AI Search application configuration](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/create-facet-ais.md).\n\n## Guided setup\n\nGuided setup provides a sequence of tasks that helps you configure search application settings. To access guided setup, navigate to **All** &gt; **AI Search** &gt; **AI Search for Next Experience** &gt; **Guided Setup for Zing to AI Search Migration**.\n\nThis guided setup tool assists with the migration of Next Experience applications from Zing to AI Search. For more information about using guided setup, see [Configuring AI Search for Next Experience](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/configuring-ais-next-experience.md).\n\nDepending on your release, you may need to perform only some of the tasks within the guided setup to use AI Search with CRM Workspace. For Utah zBoot instances, AI Search is the default search application for global search and the CRM Workspace application.\n\n## Migrating Zing search configurations\n\nIf you have added, modified, or deleted any search configurations provided out of box, you may need to migrate existing Zing search configurations to AI Search configurations.\n\n-   If you have added or modified any search sources in **Agent Workspace Search Config**, you need to migrate these sources to AI Search.\n-   If you have deleted any search sources from **Agent Workspace Search Config**, you need to manually delete them from **\\[Migrated\\] Agent Workspace Search Config**\n\n## Enable fuzzy matching in AI search\n\nFuzzy matching enables agents to search for records using partial record IDs or incomplete record details and retrieve relevant results. Fuzzy matching identifies similar but not identical elements in data table sets.\n\nAI search in CRM Workspace supports fuzzy matching with a script. Activating the Customer Service plugin \\(com.sn\\_customerservice\\) automatically runs the script and enables fuzzy match search in both the CRM Workspace global search and the Recommended Actions AI search component.\n\nWhen fuzzy matching is enabled:\n\n-   AI search returns results based on approximate matching, including partial text or slightly mistyped record IDs.\n-   The system ranks the search results in order of relevance, prioritizing exact matches but including close matches.\n\nAfter fuzzy matching is enabled, the system adminisrator needs to re-index the tables used in AI search:\n\n1.  Make sure that fuzzy matching is enabled by running this command as a background script:\n\n    **gs.info\\(new sn\\_ais.AisUtil\\(\\).isFuzzyNumberMatchEnabled\\(\\)\\);**\n\n    The result should be 'true'.\n\n2.  Make sure that AI search is enabled.\n3.  Navigate to **All** &gt; **AI Search** &gt; **AI Search Index** &gt; **Indexed Sources**.\n4.  Select the table to re-index.\n5.  Select **Index All Tables**.\n6.  Go to the homepage and enter a search query in the global search field.\n\n    You should see fuzzy matching results for the tables that were re-indexed.\n\n\n**Note:** If a table is not present in the AI Search Index Sources list, you can add the table by selecting **New** on this list.\n\n**Related topics**  \n\n\n[Exploring AI Search](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/explore-ais.md)\n\n[Configuring AI Search](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/configuring-ais.md)\n\n"}}