Confluence Search Bar

I am new to the forge, and I am trying to integrate the elastic custom search with the confluence intranet space, is there a way that we could edit the search functionality for the build-in search bar from confluence, or we need to implement a new search bar to run our app of Forge?