> For the complete documentation index, see [llms.txt](https://salsa-digital.gitbook.io/govcms-site-builder/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://salsa-digital.gitbook.io/govcms-site-builder/unit-9-search-and-related-content/search-and-related-content/exercice-9.3-create-new-search-page-with-search-api.md).

# Exercise 9.3: Create new search page with Search API

In GovCMS we can setup and configure multiple searches, this includes setting up multiple Search Indices and configuring them individually (if required).

## Create new Search Index

To use the *Search API* and to create a new search page, first, we have to create a search index. This index will ensure communications between the content of your website and end user.

1. Go to *Configuration* → *Search and metadata* → **Search API** and click the **Add Index** button.
2. **Index name**: Job Posting
3. **Data sources:** Content
4. **Which bundles should be indexed?:** Only those selected
5. **Bundles**: Job Posting
6. **Server**: Lagoon Solr
7. **Enabled:** Yes
8. Accept the remaining default settings and click the **Save** button.

![Image of Create Index](/files/jRXD3kWKiO4mb1NmuBv0)

![Image of Create Index](/files/B0E0mFSxd2BM2K6tZIyR)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://salsa-digital.gitbook.io/govcms-site-builder/unit-9-search-and-related-content/search-and-related-content/exercice-9.3-create-new-search-page-with-search-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
