
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 04-03-2025 11:11 AM - edited 3 weeks ago
How to set up the Web Search using Google Gemini for AI Agents and Virtual Agent
[Updated as of Yokohama Patch 6]
NOTE: As of Yokohama Patch 6/Zurich Patch 1, it is no longer necessary to purchase your own LLM/cloud subscriptions. ServiceNow now provides AI Web Search out-of-the-box, powered by Google Gemini. Simply update your instance, and then your Now Assist store apps. Be sure to update the "AI Websearch" store app.
Web Search is a powerful tool available for ServiceNow AI Agents, new in the Yokohama release. It can provide information beyond what’s available in your ServiceNow instance to power your AI Agent knowledge and workflows. By using AI answers, you are calling an LLM to generate an answer. The two options are Gemini (the default) or Perplexity (requires separate subscription). Gemini uses the Pro 2.5 model.
Using the Web Search tool in AI Agents
In the "Add Tool" drop-down, select "Web Search". Then open the Web Search tool, give the tool a name, and set “Output Transformation strategy” to something other than “None”. Otherwise, you’ll get technical jargon.
In the testing tab, select the AI Agent with the Search tool and type in a query. Note: The query example below is overly specific. Web Search may not provide relevant search results with vague queries so it’s always good to test.
Results:
Configuring Now Assist in Virtual Agent to use Web Search
- Navigate to the "Now Assist – Web Search" topic in VA Designer > Properties and enable topic for your assistant. The topic should be Active and Published
3. Ensure that your assistant's fallback topic is "Now Assist Fallback" in the Now Assist in VA setup page > Chat Experience > Advanced.
4. Set system property: sn_nowassist_va.websearch_fallback_enabled to values: no_response_from_ai_search, no_response_from_llm
Result: The user will be asked if they want to run web search as fallback.
- 10,718 Views

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Updated with configuration on how to set up web search for Now Assist in Virtual Agent, new in Yokohama Patch 3!
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi Victor,
I tried following your steps to change the Provider, I'm not able to change the provider to Google search, for me the default search provider is showing up as "Azure OpenAI answer" and I'm not able to make change for this record in the "sys_one_extend_definition_config" table, could you please guide me on this.
Thanks,
Pavan Kumar.

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
@Victor Chen - can you speak more the consequences or other downstream effects of asking support to modify the Now LLM Connections & Credentials Aliases “Is Internal” flag?
Support documentation like this page is very unequivocal in saying, "The 'read-only' protection policy is set for a reason and should be respected. ServiceNow sets it when users (even admins) are not supposed to modify these files."
Before I ask them to change it, I want to understand what the impact of doing so is - will making this change for one purpose (web scraping) cause changes or problems or differences in functionality in other parts of the platform that use Now LLM?

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
That is a fair point, and it will depend on your comfort level. There is no impact to other parts of the platform that use Now LLM. Alternatively, you can use AI answers.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hello @Victor Chen ,
I have set up an AI Agent for web search. However, in a recent update, a new section called "Define Trigger " has been added during the AI Agent creation process.
Could you please suggest what the appropriate trigger condition should be for this use case?
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi @Victor Chen - Even i am seeing i am unable to change this Provider to Google, At present we have only - Azure Open AI answer. Also, when i try to run and test the out of the box Web search tool, it says search is not enabled. Which search it point out and what search need to be enabled?
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
How can we use Tavily API instead of Google Gemini.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Anyone trying AI websearch donot forget to upgdate AI websearch plugin.
- Changes
- Gemini as default web search engine.
- Azure OpenAI has dropped Bing support and so web search APIs are unavailable. Bing support is deprecated for web search capability.