---
title: Ensure that search hubs are implemented
slug: mc2g0331
canonical_url: https://docs.coveo.com/en/mc2g0331/
collection: project-guide
source_format: adoc
---
# Ensure that search hubs are implemented

> **Important**
>
> This guide provides guidelines to analyze, review, and test different aspects of a Coveo-powered implementation.
>
> It shouldn't be considered an official, definitive guide to testing an implementation before it goes live, but rather a guide showcasing the basic components that Coveo implementations typically include.
>
> Every Coveo implementation is different and may require custom configuration.
>
> Therefore, you may notice discrepancies between the components and features listed in this guide and those you're using in your actual implementation.
>
> If you encounter issues, or have any questions related to this article, contact [Coveo Support](https://connect.coveo.com/s/case/Case/Default) for help.

In your solution, each [search interface](https://docs.coveo.com/en/2741.md) intended for a specific audience should have its own identifier, or [search hub](https://docs.coveo.com/en/1342.md).
Depending on your chosen authentication method, you can enforce the search hub through the [search token](https://docs.coveo.com/en/56.md) or [API key](https://docs.coveo.com/en/105.md).
Also ensure that you set your search hub in your search interfaces.

Depending on how you choose to build your [search interfaces](https://docs.coveo.com/en/2741.md), see:

* [Coveo Atomic](https://docs.coveo.com/en/atomic/latest/reference/components/atomic-search-interface#properties)

* [Coveo Headless](https://docs.coveo.com/en/headless/latest/reference/interfaces/Search.SearchHubActionCreators.html)

* [Coveo Quantic](https://docs.coveo.com/en/quantic/latest/usage/safely-set-search-hub/)

**Example**

You have two search interfaces which specifically target two distinct audiences (customers and service agents).
You set the following search hubs to personalize each audience's search experience:

`CommunitySearch`

```html
<atomic-search-interface id="search" search-hub="CommunitySearch">
  <!-- ... -->
</atomic-search-interface>
```

`AgentPanel`

```html
<atomic-search-interface id="search" search-hub="AgentPanel">
  <!-- ... -->
</atomic-search-interface>
```
Setting search hubs based on your audiences allows [Coveo Machine Learning (Coveo ML)](https://docs.coveo.com/en/188.md) to learn from the behavior of a particular segment of your users.
You can also get insightful information about an audience that's targeted by a specific search hub in [Coveo Analytics](https://docs.coveo.com/en/182.md).

In the [Coveo Administration Console](https://docs.coveo.com/en/183.md), your [consumption dashboard](https://docs.coveo.com/en/1855.md) lets you analyze logged [queries](https://docs.coveo.com/en/231.md) per search hub.