Can I automatically set the value of ais-search-box?

On my website I have a general search engine that is all over the web, I would like that when performing a search the user is directed to the section of the algolia list with the ais-search-box set with the value entered in this general search engine.
is this possible?

Hi there! Yes that should be doable. Would you be able to confirm which flavour of InstantSearch you’re using?

Hi! I’m using angular instantSearch

Hey @giannilupi9, you should be able to do that by enabling routing, and prefilling the search box via a parameter in URL.

The easiest way to do this is by using routing: true,
It’s all explained here:

1 Like