Data driven test for searching page

how do i implement data driven for this test case :
-user search with search bar(variable from our data)
-navigate to search result page
-click to the product(tag/xpath/name from our data)

any suggestion for this test?
thank you