Create Custom Search Instance From Your Bing Custom Search Cognitive Service

In the previous blog, we have seen creating Bing custom search cognitive service using Azure Portal. Now, we are going to see implementing the cognitive service in Bing Custom Search instance.
 

Create Bing Custom Search Instance

  1. Navigate to below custom search URL on your browser.

    Url: https://customsearch.ai

  2. Sign in with your Microsoft account. After signing in, Click My instance and click on "Create new instance".

  3. After clicking "Create new instance", you will get a popup asking to enter the new search instance name. Enter a meaningful name for your search instance and then click Ok.

    Create Custom Search Instance From Your Bing Custom Search Cognitive Service

  4. It will navigate to the configuration page. On the Configuration page, Click Active Tab and add the URL one or more websites that you want to include in your search. 

    Create Custom Search Instance From Your Bing Custom Search Cognitive Service

    Note
    To test the search, you can enter some keywords to get the results. The search results should be from the active websites you provided. The websites you included will be indexed and results will be shown in the bing search.

  5. To restrict or block the content from specific URL's there is an option under the blocked tab and you can specify the websites to stop indexing on your bing search.

    Create Custom Search Instance From Your Bing Custom Search Cognitive Service

  6. To make specific websites to be top on your results, we can use the pinned tab and configure.

    Create Custom Search Instance From Your Bing Custom Search Cognitive Service

    To configure the Hosted UI we have multiple options that you can get by clicking on Hosted UI tab on the top.

    Create Custom Search Instance From Your Bing Custom Search Cognitive Service

    We can select layouts, color & theme for the result page and the most important part is the subscription keys. To consume this service on any external custom website and application needs to provide the active keys and publish.

    Create Custom Search Instance From Your Bing Custom Search Cognitive Service

    We can provide any active key and on the respective section and publish it. Note: We have seen how to configure and get the subscription key in my last blog.
In my next blog, we will see, how to create the custom website using this bing custom search instance