Quickstart: Create your first Bing Custom Search instance
To use Bing Custom Search, create a custom search instance that defines your view or slice of the web. The instance contains the public domains, websites, and webpages that you want to search, along with any ranking adjustments you may want.
Prerequisites
To use Bing Custom Search, you need to define an Azure Bing Custom Search resource and get your key. For details, see Create Bing Search Service resource.
Create a custom search instance
To create a Bing Custom Search instance:
Open a browser and navigate to the Bing Custom Search portal.
If you're new to Bing Custom Search, click Get Started, accept the terms, and sign in with your Microsoft account.
The UX displays a carousel with Custom Search features. Thumb through the features and click the exit button ('X' in the top-right corner of the carousel).
To create your first instance, click Create new instance.
Otherwise, click My Instances and then click New Instance.
Enter a descriptive instance name and click Ok. You can change the name of your instance at any time.
On the Active tab under Search Experience, enter the URL of one or more websites you want to include in your search.
Note
Bing Custom Search instances will only return results for domains and webpages that are public and have been indexed by Bing.
- After adding a URL, the UX displays a list of websites You might want to add. Select sites from the list as appropriate; otherwise, enter another website URL where it says Type in a URL.
To Try out the search experience, enter a search string in the right Preview pane. If no results are returned, try entering a different URL.
If all is well, click Publish to publish your changes to the production environment. After your instance is published, click Go to production environment.
Copy your Custom Configuration ID, the query parameter to which you set the customConfig when calling Custom Search API.
Note
To use the instance in production, you must have a subscription key.
Next steps
- To get full details about creating an instance, see Define a custom view.