# How to Create a Search Bar

To get started, it will be easiest if you already have your database collections setup. For this tutorial, you will need one database collection called “Friends.” Inside of the collection, you need two properties: a text field for “name” and an image field for the collection. Inside of the collection, you will need to add records. These records will be criteria that the user can search within your app. We’ve added 6 records of names and images, but you can add however many you would like.

{% embed url="<https://youtu.be/1uyIeShAfQ4>" %}

1. Navigate back to the Adalo Canvas and once you open the left panel, you will search “search list” under “Add Screen.” Drag that screen onto the \_\_\_\_\_.
2. Click on the simple list on the app screen then navigate to the left panel. Under the first dropdown, choose your Database Collection called “Friends” to bind the list and the database together.
3. Scroll down to filter and click “add another filter”
4. Select “Name” then “Contains” then “Form Inputs > Search Term” - this will allow everything within your Database Collections to be displayed and the search results displayed as the user is typing.
5. Scroll down to the bottom of the left panel and once you click on Subtitle, click the slider on the right side to turn it off.
6. Next, go to preview your app and test it out!

\
You just added Search to your Adalo app! 🎉\
Cloneable App! 👀 → [Link](https://previewer.adalo.com/763aa3a8-bf22-41ff-be15-2db992e04f1c)<br>


---

# Agent Instructions: 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:

```
GET https://help.adalo.com/how-to/how-to-create-a-search-bar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
