To use the search engine capabilities of Devika, you need to set up the search engine API keys. Currently, Devika supports Bing, Google and DuckDuckGo search engines. If you want to use duckduckgo, you don't need to set up any API keys.
For Bing and Google search engines, you need to set up the API keys. Here's how you can do it:
- Create Azure account. You can create a free account here.
- Go to the Bing Search API website.
- click on the
Try nowbutton. - Sign in/sign up with your Azure account.
- Create a new resource group (if you don't have any).

- click on the
Review and createbutton. - if everything is fine, click on the
Createbutton. - Once the resource is created, go to the
Keys and Endpointtab.
- Copy either
Key1orKey2and paste it into theAPI_KEYSfield with the nameBINGin theconfig.tomlfile located in the root directory of Devika, or you can set it via the UI. - Copy the
Endpointand paste it into theAPI_Endpointsfield with the nameBINGin theconfig.tomlfile located in the root directory of Devika, or you can set it via the UI.
- if don't have then create GCP account Google Cloud Console.
- visit Here is the official documentation.
- click on
Get a Key. - select the project you have or create a new project. click on next.

- it enable the Custom Search API for the project and create the API key.
- Copy the API key and paste it in the API_KEYS field with the name
GOOGLE_SEARCHin theconfig.tomlfile in the root directory of Devika or you can set it via UI. - for the search engine id, go to the Google Custom Search Engine website.
- click on the
Addbutton.
- After creating the engine. Copy the
Search Engine IDand paste it in the API_Endpoints field with the nameGOOGLE_SEARCH_ENGINE_IDin theconfig.tomlfile in the root directory of Devika or you can set it via UI.