--- title: CaseDeflection Lightning component slug: '1312' canonical_url: https://docs.coveo.com/en/1312/ collection: coveo-for-salesforce source_format: adoc --- # CaseDeflection Lightning component The _CaseDeflection_ Lightning component lets you insert a case deflection component in your Experience Cloud site. It takes care of wrapping and including the correct scripts and different resource references needed to do so. ![Coveo Case Deflection Lightning component example | Coveo for Salesforce](https://docs.coveo.com/en/assets/images/coveo-for-salesforce/case-deflection.png) > **Note** > > For a guide on how to implement a custom Lightning component, see [Integrate Coveo Lightning Aura components in a custom component for your Experience Cloud site](https://docs.coveo.com/en/1193/). ## Usage Reference it in your Lightning component as you would for any other Aura component, using the namespace prefix of the Coveo package. ```xml ``` ## Resources included with this component This component includes the [Coveo JavaScript Search Framework](++https://github.com/coveo/search-ui++), the [jQuery](++https://jquery.com/++) (latest 3.x.x version) library, and the Coveo for Salesforce specific assets. > **Note** > > Since Lightning Locker is automatically enabled on this component, the [underscore result templates](https://docs.coveo.com/en/413#using-the-underscore-engine) aren't supported. > You must use [HTML templates](https://docs.coveo.com/en/413#using-the-html-engine-recommended) instead. ## Aura event This component doesn't offer any Aura events. ## Options The component offers the following options: ### `debug` Whether to use the non-minified versions of the different resources. Default value is `false`. ### `title` The title to show at the top of the component. Default value is `Recommended Solutions`. ### `name` - **As of the Coveo for Salesforce v5 release** The name of the `Page Content` record that contains the HTML code of your search interface. - **Prior Coveo for Salesforce versions** The name of the Visualforce component that contains the HTML code of your search interface. Default value is `communityCaseDeflectionCoveo`. ### `searchHub` The name of the search hub to enforce when authenticating a query with this search token, which can also be used in query pipeline condition statements. This option should have the same value as `name`.