Search on attributes while initializing instantseach

Hey team,
I am new to algolia and wanted to achieve a task.

I created a page for standalone page for search and getting search text from URL param.
Now, I want to initialize search and filter data on the basis of the search text I am getting.

like I have an attribute “name”, whatever I get from the search query, I want to filter data if the name contains the search query.

Any help/clue would be really helpful.

Thanks in advance