---
title: "Include"
slug: "cloud-sdk-search-include"
abstract: "The Include interface represents include rules for a search request. Used to force a list of items or categories to appear in specific slots, even if they are not in the natural results set for a request."
---
# Include

|     |     |
| --- | --- |
| Type | Interface |
| Import path | `@sitecore-cloudsdk/search/browser` |

Include rules for a search request. Used to force a list of items or categories to appear in specific slots, even if they are not in the natural results set for a request.

To force a single item or category to appear in a fixed slot, use [`PinItem`](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-reference/cloud-sdk-search/cloud-sdk-search-browser/interfaces/cloud-sdk-search-pinitem.html "PinItem").

## Signature

```typescript
interface Include {
  filter: Filter;
  slots: ArrayOfAtLeastOne<number>;
}
```

## Properties

| Name | Type | Description | Value |
| --- | --- | --- | --- |
| `filter` | [`Filter`](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-reference/cloud-sdk-search/cloud-sdk-search-browser/types/cloud-sdk-search-filter.html "Filter") | Required.<br><br>Various filter criteria that can be used to filter search results or recommendations. | N/A |
| `slots` | `integer[]` | Required.<br><br>A position or positions in a list of search results to which you can apply pin, include, or boost rules.<br><br>Minimum length: 1. | `[4, 5]` |