Step 1: Click on your profile and locate the settings button.
Step 2: Click settings and go to Beta Features. Once you are there all you have to do is toggle the web browsing feature.
Step 3: Create a new chat, use GPT-4 as your main model and then toggle Browsing
Hope you found this useful!