Here are steps to add google search on website.
- Create a google custom search engine from here-https://cse.google.com/cse
- Under websites to search, enter google.com (you can also enter not website as well).
- Toggle search the entire to web to on
- Go to set up-> edition -> get code copy this code to your website.
- That’s it ! You have added google search to your website.